diff --git a/.gitignore b/.gitignore index 87df5a1..2742c05 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,10 @@ share/python-wheels/ .installed.cfg *.egg MANIFEST + +# Others +pyvenv.cfg +share/ +bin/ +ag_ckpt_vocab/ +meliad_lib/ \ No newline at end of file diff --git a/run.sh b/run.sh index 330d1fe..7030220 100644 --- a/run.sh +++ b/run.sh @@ -17,12 +17,17 @@ set -e set -x -virtualenv -p python3 . +virtualenv -p python3.10 . source ./bin/activate +sudo apt-get install python3.10-tk # temporary solution +pip install -U pip pip install --require-hashes -r requirements.txt -gdown --folder https://bit.ly/alphageometry +GDRIVE_URL=$(curl -s -L -o /dev/null -w "%{url_effective}" https://bit.ly/alphageometry) +pip install -U gdown # temporary solution +echo "Downloading GDrive folder: $GDRIVE_URL" +gdown --folder "$GDRIVE_URL" DATA=ag_ckpt_vocab MELIAD_PATH=meliad_lib/meliad