More path fixes
This commit is contained in:
parent
4cd09d0385
commit
ef69a062d5
|
@ -13,7 +13,7 @@ while true ; do
|
|||
-i|--init)
|
||||
init=$2 ; shift 2 ;;
|
||||
-p|--path)
|
||||
mpath=" --path $2" ; shift 2 ;;
|
||||
mpath="$2" ; shift 2 ;;
|
||||
-c|--configname)
|
||||
configname=" --configname $2" ; shift 2 ;;
|
||||
-n|--ngrok)
|
||||
|
@ -46,7 +46,7 @@ function launch
|
|||
exit 0
|
||||
else
|
||||
cd /content/KoboldAI-Client
|
||||
python3 aiserver.py$model$mpath$configname$ngrok --remote --override_delete --override_rename
|
||||
python3 aiserver.py$model$kmpath$configname$ngrok --remote --override_delete --override_rename
|
||||
exit
|
||||
fi
|
||||
}
|
||||
|
@ -74,7 +74,10 @@ else
|
|||
fi
|
||||
|
||||
# Redefine the Path to be in the relevant location
|
||||
if [ -v $mpath ];then
|
||||
mpath="$xloc$mpath"
|
||||
kmpath="--path $mpath"
|
||||
fi
|
||||
|
||||
# Create Folder Structure and Install KoboldAI
|
||||
if [ "$init" != "skip" ]; then
|
||||
|
|
Loading…
Reference in New Issue