mirror of
https://github.com/wassname/Clover-Edition.git
synced 2026-09-10 11:40:48 +08:00
added install script
This commit is contained in:
@@ -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