This commit is contained in:
xsl
2026-07-17 00:26:47 +08:00
parent 5fbc03a6df
commit 99ce21334a
+2 -2
View File
@@ -21,12 +21,12 @@ fi
# 检查 ComfyUI 是否运行
if ! curl -s -o /dev/null -w "%{http_code}" http://127.0.0.1:8188/ >/dev/null 2>&1; then
echo "警告: ComfyUI 未运行 (http://127.0.0.1:8188)"
echo "请先启动 ComfyUI: python /home/xsl/ComfyUI/main.py --listen"
echo "请先启动 ComfyUI: python /home/ubuntu/ComfyUI/main.py --listen"
fi
# 启动服务
echo "启动发型补全服务..."
/home/xsl/miniconda3/bin/python app.py >> "$LOG_FILE" 2>&1 &
/home/ubuntu/ComfyUI/venv/bin/python app.py >> "$LOG_FILE" 2>&1 &
PID=$!
echo "$PID" > "$PID_FILE"