Update lollms_comfyui.py

This commit is contained in:
Saifeddine ALOUI 2024-03-21 11:28:38 +01:00 committed by GitHub
parent 2581346cfa
commit 118e32153d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -74,6 +74,7 @@ def install_comfyui(lollms_app:LollmsApplication):
subprocess.run(["git", "clone", "https://github.com/ParisNeo/ComfyUI.git", str(comfyui_folder)])
subprocess.run(["git", "clone", "https://github.com/ParisNeo/ComfyUI-Manager.git", str(comfyui_folder/"custom_nodes/ComfyUI-Manager")])
subprocess.run(["git", "clone", "https://github.com/jags111/efficiency-nodes-comfyui.git", str(comfyui_folder/"custom_nodes/ComfyUI-Manager")])
if show_yes_no_dialog("warning!","Do you want to install a model from civitai?\nIsuggest dreamshaper xl."):
download_file("https://civitai.com/api/download/models/351306", comfyui_folder/"models/checkpoints","dreamshaperXL_v21TurboDPMSDE.safetensors")
create_conda_env("comfyui","3.10")
@ -210,4 +211,4 @@ class LollmsComfyUI:
print("Service did not become available within the given time.")
if self.app is not None:
self.app.error("Comfyui Service did not become available within the given time.")
return False
return False