Allow Ngrok

Adds --ngrok to the Colab script
This commit is contained in:
henk717 2021-11-29 18:12:45 +01:00
parent 44d8068bab
commit fd19e2bfd6
1 changed files with 3 additions and 1 deletions

View File

@ -16,6 +16,8 @@ while true ; do
path=" --path /content/$2" ; shift 2 ;;
-c|--configname)
configname=" --configname $2" ; shift 2 ;;
-n|--ngrok)
configname=" --ngrok" ; shift 2 ;;
-d|--download)
download="$2" ; shift 2 ;;
-a|--aria2)
@ -42,7 +44,7 @@ function launch
exit 0
else
cd /content/KoboldAI-Client
python3 aiserver.py$model$path$configname --remote --override_delete --override_rename
python3 aiserver.py$model$path$configname$ngrok --remote --override_delete --override_rename
exit
fi
}