mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-02-18 20:50:45 +01:00
Allow Ngrok
Adds --ngrok to the Colab script
This commit is contained in:
parent
44d8068bab
commit
fd19e2bfd6
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user