mirror of
https://github.com/wassname/Clover-Edition.git
synced 2026-10-29 12:40:16 +08:00
added install script
This commit is contained in:
1 parent
06f47558f2
commit
2edb9d46c2
2 files changed
+10
-1
No files matched your search
@@ -1 +0,0 @@
|
||||
gsutil -m cp -r gs://aidungeon2model/model_v1 ./aidungeon/generator/gpt2/models
|
||||
Executable
+10
@@ -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
|
||||
Reference in new issue
Block a user