fix pulling model name
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ while ! check_server_is_running; do
|
||||
sleep 5
|
||||
done
|
||||
# IF $MODEL_NAME is set, make sure to pull the model, else just skip
|
||||
if [ -z "$MODEL_NAME" ]; then
|
||||
if [ -z "$OLLAMA_MODEL_NAME" ]; then
|
||||
echo "No model name provided. Skipping model pull..."
|
||||
else
|
||||
echo "Pulling model $MODEL_NAME..."
|
||||
|
||||
Reference in New Issue
Block a user