Update sd_yun/downloading_en.py
Browse files- sd_yun/downloading_en.py +4 -4
sd_yun/downloading_en.py
CHANGED
@@ -113,9 +113,9 @@ def download_cfg_files(file_paths, destination_path):
|
|
113 |
get_ipython().system('wget -O {destination_path}/{file_name} {base_url}/{filename}')
|
114 |
|
115 |
def cfg_download():
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
|
120 |
with capture.capture_output():
|
121 |
download_cfg_files(common_files, webui_path)
|
@@ -197,7 +197,7 @@ if os.path.exists(webui_path):
|
|
197 |
|
198 |
if not os.path.exists(webui_path):
|
199 |
unpack_webui()
|
200 |
-
cfg_download()
|
201 |
else:
|
202 |
print("🚀 All unpacked... Skip. ⚡")
|
203 |
timer_colab = handle_colab_timer(webui_path, start_colab)
|
|
|
113 |
get_ipython().system('wget -O {destination_path}/{file_name} {base_url}/{filename}')
|
114 |
|
115 |
def cfg_download():
|
116 |
+
common_files = ["styles.csv"]
|
117 |
+
a1111_files = ["A1111/config.json", "A1111/ui-config.json"]
|
118 |
+
forge_files = ["reForge/config.json", "reForge/ui-config.json"]
|
119 |
|
120 |
with capture.capture_output():
|
121 |
download_cfg_files(common_files, webui_path)
|
|
|
197 |
|
198 |
if not os.path.exists(webui_path):
|
199 |
unpack_webui()
|
200 |
+
# cfg_download()
|
201 |
else:
|
202 |
print("🚀 All unpacked... Skip. ⚡")
|
203 |
timer_colab = handle_colab_timer(webui_path, start_colab)
|