fix: fix incorrect check for comfy_model env var
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ function echo_var(){
|
|||||||
[ -z "$BACKEND" ] && echo "BACKEND must be set!" && exit 1
|
[ -z "$BACKEND" ] && echo "BACKEND must be set!" && exit 1
|
||||||
[ -z "$MODEL_LOG" ] && echo "MODEL_LOG must be set!" && exit 1
|
[ -z "$MODEL_LOG" ] && echo "MODEL_LOG must be set!" && exit 1
|
||||||
[ -z "$HF_TOKEN" ] && echo "HF_TOKEN must be set!" && exit 1
|
[ -z "$HF_TOKEN" ] && echo "HF_TOKEN must be set!" && exit 1
|
||||||
[ "$BACKEND" = "sd3" ] && [ -z "$COMFY_MODEL" ] && echo "For sd3 backends, COMFY_MODEL must be set!" && exit 1
|
[ "$BACKEND" = "comfyui" ] && [ -z "$COMFY_MODEL" ] && echo "For comfyui backends, COMFY_MODEL must be set!" && exit 1
|
||||||
|
|
||||||
|
|
||||||
echo "start_server.sh"
|
echo "start_server.sh"
|
||||||
|
|||||||
Reference in New Issue
Block a user