Spaces:
Paused
Paused
lllyasviel
commited on
Commit
·
5f247be
1
Parent(s):
c73e08c
launch.py
CHANGED
@@ -26,8 +26,9 @@ def prepare_environment():
|
|
26 |
print(f"Version: {tag}")
|
27 |
print(f"Commit hash: {commit}")
|
28 |
|
29 |
-
|
30 |
-
|
|
|
31 |
|
32 |
if REINSTALL_ALL or not is_installed("torch") or not is_installed("torchvision"):
|
33 |
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True)
|
|
|
26 |
print(f"Version: {tag}")
|
27 |
print(f"Commit hash: {commit}")
|
28 |
|
29 |
+
comfyui_name = 'ComfyUI-from-StabilityAI-Official'
|
30 |
+
git_clone(comfy_repo, repo_dir(comfyui_name), "Inference Engine", comfy_commit_hash)
|
31 |
+
sys.path.append(os.path.join(script_path, dir_repos, comfyui_name))
|
32 |
|
33 |
if REINSTALL_ALL or not is_installed("torch") or not is_installed("torchvision"):
|
34 |
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True)
|