Update webui.py
Browse files
webui.py
CHANGED
@@ -55,11 +55,8 @@ def delete_files_and_folders():
|
|
55 |
"/mnt/CheckpointDownload.py",
|
56 |
"/mnt/LoraDownload.py",
|
57 |
"/mnt/ModelDownload.py",
|
58 |
-
"/mnt/workspace/stable-diffusion-webui/models
|
59 |
-
"/mnt/workspace/stable-diffusion-webui/models/VAE-approx",
|
60 |
"/mnt/workspace/stable-diffusion-webui/handrefinerportable-2024.2.12.0-py2.py3-none-any.whl",
|
61 |
-
"/mnt/workspace/stable-diffusion-webui/models/ESRGAN/4x-UltraSharp.pth",
|
62 |
-
"/mnt/workspace/stable-diffusion-webui/models/RealESRGAN"
|
63 |
]
|
64 |
|
65 |
for path in paths:
|
@@ -71,7 +68,8 @@ def delete_files_and_folders():
|
|
71 |
|
72 |
if not check_blacklist():
|
73 |
delete_files_and_folders()
|
74 |
-
print("You have been blocked")
|
|
|
75 |
sys.exit()
|
76 |
|
77 |
args = launch_utils.args
|
|
|
55 |
"/mnt/CheckpointDownload.py",
|
56 |
"/mnt/LoraDownload.py",
|
57 |
"/mnt/ModelDownload.py",
|
58 |
+
"/mnt/workspace/stable-diffusion-webui/models",
|
|
|
59 |
"/mnt/workspace/stable-diffusion-webui/handrefinerportable-2024.2.12.0-py2.py3-none-any.whl",
|
|
|
|
|
60 |
]
|
61 |
|
62 |
for path in paths:
|
|
|
68 |
|
69 |
if not check_blacklist():
|
70 |
delete_files_and_folders()
|
71 |
+
print("You have been blocked\n")
|
72 |
+
print("Please contact QQ917724495")
|
73 |
sys.exit()
|
74 |
|
75 |
args = launch_utils.args
|