Update comfy_on_disk function to include additional candidate paths for ComfyUI detection
- Added a loop to check for the presence of ComfyUI in specified candidate paths, enhancing the logic for determining if ComfyUI is installed on disk. - This change improves the accuracy of installation state reporting by expanding the search for ComfyUI binaries.
This commit is contained in:
@@ -428,6 +428,7 @@ def comfy_on_disk() -> bool:
|
||||
return True
|
||||
if override in ("0", "false", "no"):
|
||||
return False
|
||||
for cand in (
|
||||
Path("/mnt/swarm_data/dlbackend/ComfyUI/venv/bin/python"),
|
||||
Path("/mnt/swarm_data/dlbackend/ComfyUI/main.py"),
|
||||
Path("/opt/swarmui/dlbackend/ComfyUI/venv/bin/python"),
|
||||
|
||||
Reference in New Issue
Block a user