Expose GDrive Models

This commit is contained in:
henk717 2022-02-22 02:35:27 +01:00
parent 9aeae94d0e
commit 74012a24c9
1 changed files with 6 additions and 3 deletions

View File

@ -134,19 +134,22 @@ if [ "$init" != "skip" ]; then
cd /content/KoboldAI-Client cd /content/KoboldAI-Client
cp -rn stories/*.* /content/drive/MyDrive/KoboldAI/stories/ cp -rn stories/* /content/drive/MyDrive/KoboldAI/stories/
cp -rn userscripts/*.* /content/drive/MyDrive/KoboldAI/userscripts/ cp -rn userscripts/* /content/drive/MyDrive/KoboldAI/userscripts/
cp -rn softprompts/*.* /content/drive/MyDrive/KoboldAI/softprompts/ cp -rn softprompts/* /content/drive/MyDrive/KoboldAI/softprompts/
rm stories rm stories
rm -rf stories/ rm -rf stories/
rm userscripts rm userscripts
rm -rf userscripts/ rm -rf userscripts/
rm softprompts rm softprompts
rm -rf softprompts/ rm -rf softprompts/
rm models
rm -rf models/
ln -s /content/drive/MyDrive/KoboldAI/stories/ stories ln -s /content/drive/MyDrive/KoboldAI/stories/ stories
ln -s /content/drive/MyDrive/KoboldAI/settings/ settings ln -s /content/drive/MyDrive/KoboldAI/settings/ settings
ln -s /content/drive/MyDrive/KoboldAI/softprompts/ softprompts ln -s /content/drive/MyDrive/KoboldAI/softprompts/ softprompts
ln -s /content/drive/MyDrive/KoboldAI/userscripts/ userscripts ln -s /content/drive/MyDrive/KoboldAI/userscripts/ userscripts
ln -s /content/drive/MyDrive/KoboldAI/models/ models
if [ "$model" == " --model TPUMeshTransformerGPTJ" ]; then if [ "$model" == " --model TPUMeshTransformerGPTJ" ]; then
pip install -r requirements_mtj.txt pip install -r requirements_mtj.txt