This commit is contained in:
lvmin
2023-08-11 08:47:52 -07:00
parent 3260add223
commit 985d689861
2 changed files with 20 additions and 30 deletions
+1 -3
View File
@@ -2,7 +2,7 @@ import os
import sys
import platform
from modules.launch_util import commit_hash, fooocus_tag, is_installed, run, python, \
from modules.launch_util import fooocus_tag, is_installed, run, python, \
run_pip, repo_dir, git_clone, requirements_met, script_path, dir_repos
from modules.model_loader import load_file_from_url
from modules.path import modelfile_path, lorafile_path
@@ -21,12 +21,10 @@ def prepare_environment():
comfy_repo = os.environ.get('COMFY_REPO', "https://github.com/comfyanonymous/ComfyUI")
comfy_commit_hash = os.environ.get('COMFY_COMMIT_HASH', "2bc12d3d22efb5c63ae3a7fc342bb2dd16b31735")
commit = commit_hash()
tag = fooocus_tag
print(f"Python {sys.version}")
print(f"Version: {tag}")
print(f"Commit hash: {commit}")
comfyui_name = 'ComfyUI-from-StabilityAI-Official'
git_clone(comfy_repo, repo_dir(comfyui_name), "Inference Engine", comfy_commit_hash)