Userscript support on GDrive
Make the Colab's create and map a userscripts folder.
This commit is contained in:
parent
18ddd77337
commit
c5ade0333a
|
@ -85,6 +85,7 @@ if [ "$init" != "skip" ]; then
|
||||||
mkdir /content/drive/MyDrive/KoboldAI/models/
|
mkdir /content/drive/MyDrive/KoboldAI/models/
|
||||||
mkdir /content/drive/MyDrive/KoboldAI/settings/
|
mkdir /content/drive/MyDrive/KoboldAI/settings/
|
||||||
mkdir /content/drive/MyDrive/KoboldAI/softprompts/
|
mkdir /content/drive/MyDrive/KoboldAI/softprompts/
|
||||||
|
mkdir /content/drive/MyDrive/KoboldAI/userscripts/
|
||||||
|
|
||||||
cd /content/KoboldAI-Client
|
cd /content/KoboldAI-Client
|
||||||
rm stories
|
rm stories
|
||||||
|
@ -92,6 +93,7 @@ if [ "$init" != "skip" ]; then
|
||||||
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
|
||||||
|
|
||||||
if [ "$model" == " --model TPUMeshTransformerGPTJ" ]; then
|
if [ "$model" == " --model TPUMeshTransformerGPTJ" ]; then
|
||||||
pip install -r requirements_mtj.txt
|
pip install -r requirements_mtj.txt
|
||||||
|
|
Loading…
Reference in New Issue