From c5ade0333a8d1b8741aaf81cfa657cdc886775c6 Mon Sep 17 00:00:00 2001 From: henk717 Date: Tue, 14 Dec 2021 02:51:39 +0100 Subject: [PATCH] Userscript support on GDrive Make the Colab's create and map a userscripts folder. --- colabkobold.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/colabkobold.sh b/colabkobold.sh index 4c45a12c..c0319389 100644 --- a/colabkobold.sh +++ b/colabkobold.sh @@ -85,6 +85,7 @@ if [ "$init" != "skip" ]; then mkdir /content/drive/MyDrive/KoboldAI/models/ mkdir /content/drive/MyDrive/KoboldAI/settings/ mkdir /content/drive/MyDrive/KoboldAI/softprompts/ + mkdir /content/drive/MyDrive/KoboldAI/userscripts/ cd /content/KoboldAI-Client rm stories @@ -92,6 +93,7 @@ if [ "$init" != "skip" ]; then ln -s /content/drive/MyDrive/KoboldAI/stories/ stories ln -s /content/drive/MyDrive/KoboldAI/settings/ settings ln -s /content/drive/MyDrive/KoboldAI/softprompts/ softprompts + ln -s /content/drive/MyDrive/KoboldAI/userscripts/ userscripts if [ "$model" == " --model TPUMeshTransformerGPTJ" ]; then pip install -r requirements_mtj.txt