Commit
·
4d35d5f
1
Parent(s):
fa69faa
- fooocus_version.py +2 -0
- launch.py +3 -4
- modules/launch_util.py +0 -2
fooocus_version.py
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version = '1.0.1'
|
| 2 |
+
|
launch.py
CHANGED
|
@@ -1,8 +1,9 @@
|
|
| 1 |
import os
|
| 2 |
import sys
|
| 3 |
import platform
|
|
|
|
| 4 |
|
| 5 |
-
from modules.launch_util import
|
| 6 |
run_pip, repo_dir, git_clone, requirements_met, script_path, dir_repos
|
| 7 |
from modules.model_loader import load_file_from_url
|
| 8 |
from modules.path import modelfile_path, lorafile_path
|
|
@@ -21,10 +22,8 @@ def prepare_environment():
|
|
| 21 |
comfy_repo = os.environ.get('COMFY_REPO', "https://github.com/comfyanonymous/ComfyUI")
|
| 22 |
comfy_commit_hash = os.environ.get('COMFY_COMMIT_HASH', "2bc12d3d22efb5c63ae3a7fc342bb2dd16b31735")
|
| 23 |
|
| 24 |
-
tag = fooocus_tag
|
| 25 |
-
|
| 26 |
print(f"Python {sys.version}")
|
| 27 |
-
print(f"
|
| 28 |
|
| 29 |
comfyui_name = 'ComfyUI-from-StabilityAI-Official'
|
| 30 |
git_clone(comfy_repo, repo_dir(comfyui_name), "Inference Engine", comfy_commit_hash)
|
|
|
|
| 1 |
import os
|
| 2 |
import sys
|
| 3 |
import platform
|
| 4 |
+
import fooocus_version
|
| 5 |
|
| 6 |
+
from modules.launch_util import is_installed, run, python, \
|
| 7 |
run_pip, repo_dir, git_clone, requirements_met, script_path, dir_repos
|
| 8 |
from modules.model_loader import load_file_from_url
|
| 9 |
from modules.path import modelfile_path, lorafile_path
|
|
|
|
| 22 |
comfy_repo = os.environ.get('COMFY_REPO', "https://github.com/comfyanonymous/ComfyUI")
|
| 23 |
comfy_commit_hash = os.environ.get('COMFY_COMMIT_HASH', "2bc12d3d22efb5c63ae3a7fc342bb2dd16b31735")
|
| 24 |
|
|
|
|
|
|
|
| 25 |
print(f"Python {sys.version}")
|
| 26 |
+
print(f"Fooocus version: {fooocus_version.version}")
|
| 27 |
|
| 28 |
comfyui_name = 'ComfyUI-from-StabilityAI-Official'
|
| 29 |
git_clone(comfy_repo, repo_dir(comfyui_name), "Inference Engine", comfy_commit_hash)
|
modules/launch_util.py
CHANGED
|
@@ -20,8 +20,6 @@ modules_path = os.path.dirname(os.path.realpath(__file__))
|
|
| 20 |
script_path = os.path.dirname(modules_path)
|
| 21 |
dir_repos = "repositories"
|
| 22 |
|
| 23 |
-
fooocus_tag = '1.0.0'
|
| 24 |
-
|
| 25 |
|
| 26 |
def git_clone(url, dir, name, hash=None):
|
| 27 |
try:
|
|
|
|
| 20 |
script_path = os.path.dirname(modules_path)
|
| 21 |
dir_repos = "repositories"
|
| 22 |
|
|
|
|
|
|
|
| 23 |
|
| 24 |
def git_clone(url, dir, name, hash=None):
|
| 25 |
try:
|