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