Spaces:
Running
on
Zero
Running
on
Zero
Dockerfile
Browse files- scripts/process_utils.py +2 -1
scripts/process_utils.py
CHANGED
@@ -53,7 +53,8 @@ def initialize_sotai_model():
|
|
53 |
global device, torch_dtype
|
54 |
|
55 |
sotai_sd_model_path = get_file_path(os.environ["sotai_sd_model_name"], subfolder=os.environ["sd_models_dir"])
|
56 |
-
controlnet_path1 = get_file_path(os.environ["controlnet_name1"], subfolder=os.environ["controlnet_dir2"])
|
|
|
57 |
controlnet_path2 = get_file_path(os.environ["controlnet_name2"], subfolder=os.environ["controlnet_dir1"])
|
58 |
print(use_local, controlnet_path1)
|
59 |
|
|
|
53 |
global device, torch_dtype
|
54 |
|
55 |
sotai_sd_model_path = get_file_path(os.environ["sotai_sd_model_name"], subfolder=os.environ["sd_models_dir"])
|
56 |
+
# controlnet_path1 = get_file_path(os.environ["controlnet_name1"], subfolder=os.environ["controlnet_dir2"])
|
57 |
+
controlnet_path1 = get_file_path(os.environ["controlnet_name2"], subfolder=os.environ["controlnet_dir1"])
|
58 |
controlnet_path2 = get_file_path(os.environ["controlnet_name2"], subfolder=os.environ["controlnet_dir1"])
|
59 |
print(use_local, controlnet_path1)
|
60 |
|