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 ;; path=" --path /content/$2" ; shift 2 ;;
-c|--configname) -c|--configname)
configname=" --configname $2" ; shift 2 ;; configname=" --configname $2" ; shift 2 ;;
-n|--ngrok)
configname=" --ngrok" ; shift 2 ;;
-d|--download) -d|--download)
download="$2" ; shift 2 ;; download="$2" ; shift 2 ;;
-a|--aria2) -a|--aria2)
@ -42,7 +44,7 @@ function launch
exit 0 exit 0
else else
cd /content/KoboldAI-Client 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 exit
fi fi
} }