HOPStudio commited on
Commit
fb6b387
·
verified ·
1 Parent(s): 804bfe8

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -372,7 +372,7 @@ MODELSCOPE_MODEL_ID = "HOPStudio/forgeui"
372
  COMFY_PORTABLE_ZIP_NAME = "comfy_portable.zip"
373
  COMFY_PORTABLE_ZIP_PATH = os.path.join("/root", COMFY_PORTABLE_ZIP_NAME)
374
  COMFY_PORTABLE_DIR = "/root/comfy_portable"
375
- COMFY_PORTABLE_PYTHON = os.path.join(COMFY_PORTABLE_DIR, "python", "bin", "python")
376
  COMFYUI_MAIN = os.path.join(COMFY_PORTABLE_DIR, "ComfyUI", "main.py")
377
  COMFYUI_PORT = 8188
378
  COMFYUI_LOG_PATH = os.path.join(REPO_PATH, "comfyui.log")
@@ -563,7 +563,7 @@ def extract_comfy_portable():
563
  print(f"comfy_portable 解压完成: {COMFY_PORTABLE_DIR}")
564
  return True
565
 
566
- print("解压完成,但未找到 /root/comfy_portable/python/bin/python 或 /root/comfy_portable/ComfyUI/main.py。")
567
  return False
568
 
569
  except Exception as e:
 
372
  COMFY_PORTABLE_ZIP_NAME = "comfy_portable.zip"
373
  COMFY_PORTABLE_ZIP_PATH = os.path.join("/root", COMFY_PORTABLE_ZIP_NAME)
374
  COMFY_PORTABLE_DIR = "/root/comfy_portable"
375
+ COMFY_PORTABLE_PYTHON = os.path.join(COMFY_PORTABLE_DIR, "python", "bin", "python3")
376
  COMFYUI_MAIN = os.path.join(COMFY_PORTABLE_DIR, "ComfyUI", "main.py")
377
  COMFYUI_PORT = 8188
378
  COMFYUI_LOG_PATH = os.path.join(REPO_PATH, "comfyui.log")
 
563
  print(f"comfy_portable 解压完成: {COMFY_PORTABLE_DIR}")
564
  return True
565
 
566
+ print("解压完成,但未找到 /root/comfy_portable/python/bin/python3 或 /root/comfy_portable/ComfyUI/main.py。")
567
  return False
568
 
569
  except Exception as e: