lllyasviel commited on
Commit
e1efba5
1 Parent(s): f1ac0f5
Files changed (3) hide show
  1. launch.py +2 -1
  2. requirements_versions.txt +3 -1
  3. webui.py +4 -0
launch.py CHANGED
@@ -3,7 +3,7 @@ import sys
3
  import platform
4
 
5
  from modules.launch_util import commit_hash, fooocus_tag, is_installed, run, python, \
6
- run_pip, repo_dir, git_clone, requirements_met
7
 
8
 
9
  REINSTALL_ALL = False
@@ -27,6 +27,7 @@ def prepare_environment():
27
  print(f"Commit hash: {commit}")
28
 
29
  git_clone(comfy_repo, repo_dir('StabilityAI-official-comfyui'), "Inference Engine", comfy_commit_hash)
 
30
 
31
  if REINSTALL_ALL or not is_installed("torch") or not is_installed("torchvision"):
32
  run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True)
 
3
  import platform
4
 
5
  from modules.launch_util import commit_hash, fooocus_tag, is_installed, run, python, \
6
+ run_pip, repo_dir, git_clone, requirements_met, script_path, dir_repos
7
 
8
 
9
  REINSTALL_ALL = False
 
27
  print(f"Commit hash: {commit}")
28
 
29
  git_clone(comfy_repo, repo_dir('StabilityAI-official-comfyui'), "Inference Engine", comfy_commit_hash)
30
+ sys.path.append(os.path.join(script_path, dir_repos, 'StabilityAI-official-comfyui'))
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)
requirements_versions.txt CHANGED
@@ -9,4 +9,6 @@ scipy==1.9.3
9
  tqdm==4.64.1
10
  psutil==5.9.5
11
  opencv-python==4.7.0.72
12
- numpy==1.23
 
 
 
9
  tqdm==4.64.1
10
  psutil==5.9.5
11
  opencv-python==4.7.0.72
12
+ numpy==1.23.5
13
+ pytorch_lightning==1.9.4
14
+ omegaconf==2.2.3
webui.py CHANGED
@@ -1 +1,5 @@
1
  print('hello word')
 
 
 
 
 
1
  print('hello word')
2
+
3
+ from nodes import CheckpointLoader
4
+
5
+ print(CheckpointLoader)