mirror of
https://github.com/norandom/project_bookworm.git
synced 2024-12-04 19:13:44 +00:00
Compare commits
4 Commits
30ebb519a1
...
24d111b1a4
Author | SHA1 | Date | |
---|---|---|---|
|
24d111b1a4 | ||
|
c7ffd0dcaf | ||
|
eef5b798b4 | ||
|
564ed54344 |
File diff suppressed because it is too large
Load Diff
16
scripts/prepare_colab_env.sh
Normal file
16
scripts/prepare_colab_env.sh
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
if [ -d "/content" ]; then
|
||||||
|
echo "This appears to be a Google Colab environment."
|
||||||
|
|
||||||
|
echo "Installing dependencies"
|
||||||
|
pip install -r "https://raw.githubusercontent.com/norandom/project_bookworm/main/requirements.gpu.txt"
|
||||||
|
|
||||||
|
echo "Downloading data directly (workaround)"
|
||||||
|
cd "/content"
|
||||||
|
wget "https://github.com/norandom/project_bookworm/raw/main/data/export.documents.txt"
|
||||||
|
wget "https://github.com/norandom/project_bookworm/raw/main/data/export.txt"
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "This does not appear to be a Google Colab environment."
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user