added install script

This commit is contained in:
Nick Walton
2019-11-18 17:02:36 -07:00
parent 06f47558f2
commit 2edb9d46c2
2 changed files with 10 additions and 1 deletions
-1
View File
@@ -1 +0,0 @@
gsutil -m cp -r gs://aidungeon2model/model_v1 ./aidungeon/generator/gpt2/models
Executable
+10
View File
@@ -0,0 +1,10 @@
MODEL_DIRECTORY=aidungeon/generator/gpt2/models/model_v1
if [ -d "$MODEL_DIRECTORY" ]; then
echo "AIDungeon is already installed"
else
echo "Installing AIDungeon"
gsutil -m cp -r gs://aidungeon2model/model_v1 ./aidungeon/generator/gpt2/models
pip install -r requirements.txt
fi