asdf
This commit is contained in:
+2
-2
@@ -21,12 +21,12 @@ fi
|
|||||||
# 检查 ComfyUI 是否运行
|
# 检查 ComfyUI 是否运行
|
||||||
if ! curl -s -o /dev/null -w "%{http_code}" http://127.0.0.1:8188/ >/dev/null 2>&1; then
|
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 未运行 (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
|
fi
|
||||||
|
|
||||||
# 启动服务
|
# 启动服务
|
||||||
echo "启动发型补全服务..."
|
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=$!
|
PID=$!
|
||||||
echo "$PID" > "$PID_FILE"
|
echo "$PID" > "$PID_FILE"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user