@@ -19,10 +19,11 @@ elif [ -t 0 ]; then
1919    #  Running interactively
2020    echo  " [1] - Proceed to install and launch with default model Gemma3-1B" 
2121    echo  " [2] - Proceed to install without a model, you can download one later." 
22-     echo  " [3] - Select existing model to load (Requires already installed)" 
23-     echo  " [4] - Exit script" 
22+     echo  " [3] - Download GGUF model from web URL (Requires already installed)" 
23+     echo  " [4] - Load existing GGUF model from disk (Requires already installed)" 
24+     echo  " [5] - Exit script" 
2425    echo  " --------------------------------------------" 
25-     read  -p " Enter your choice [1-4 ]: "   choice
26+     read  -p " Enter your choice [1-5 ]: "   choice
2627else 
2728    #  Non-interactive, default to choice 1
2829    echo  " Defaulting to normal install and model download. Run script interactively for other options. Install will start in 3 seconds." 
3839fi 
3940
4041#  handle user choice
41- if  [ " $choice "   =  " 4 "   ];  then 
42+ if  [ " $choice "   =  " 5 "   ];  then 
4243    echo  " Exiting script. Goodbye!" 
4344    exit  0
44- elif  [ " $choice "   =  " 3 "   ];  then 
45+ elif  [ " $choice "   =  " 4 "   ];  then 
4546    echo  " [*] Searching for .gguf model files in $SCRIPT_DIR ..." 
4647    MODEL_FILES=$( find " $SCRIPT_DIR "   -type f -maxdepth 1 -name " *.gguf"   2> /dev/null) 
4748    if  [ -z  " $MODEL_FILES "   ];  then 
@@ -65,7 +66,11 @@ elif [ "$choice" = "3" ]; then
6566    echo  " Now launching with model $SELECTED_MODEL " 
6667    python koboldcpp.py --model $SELECTED_MODEL 
6768    exit  0
68- 
69+ elif  [ " $choice "   =  " 3"   ];  then 
70+     read  -r -p " Please input FULL URL of model you wish to download and run: "   SELECTED_MODEL
71+     echo  " Starting download of model $SELECTED_MODEL " 
72+     python koboldcpp.py --model " $SELECTED_MODEL " 
73+     exit  0
6974elif  [ " $choice "   =  " 2"   ];  then 
7075    echo  " [*] Install without model download..." 
7176    INSTALL_MODEL=false
0 commit comments