....
Browse files
files_cells/python/ru/downloading_ru.py
CHANGED
@@ -181,7 +181,7 @@ if latest_webui or latest_exstensions:
|
|
181 |
# --- All ---
|
182 |
# --- Encrypt-Image ---
|
183 |
get_ipython().system("sed -i '9,37d' {webui_path}/extensions/Encrypt-Image/javascript/encrypt_images_info.js")
|
184 |
-
if env
|
185 |
if os.path.exists(f"{webui_path}/extensions/Encrypt-Image"):
|
186 |
get_ipython().system('rm -rf {webui_path}/extensions/Encrypt-Image')
|
187 |
|
|
|
181 |
# --- All ---
|
182 |
# --- Encrypt-Image ---
|
183 |
get_ipython().system("sed -i '9,37d' {webui_path}/extensions/Encrypt-Image/javascript/encrypt_images_info.js")
|
184 |
+
if env == "Google Colab":
|
185 |
if os.path.exists(f"{webui_path}/extensions/Encrypt-Image"):
|
186 |
get_ipython().system('rm -rf {webui_path}/extensions/Encrypt-Image')
|
187 |
|