Update app2.py
Browse files
app2.py
CHANGED
@@ -31,7 +31,7 @@ def remove_restart():
|
|
31 |
os.chdir("/home/xlab-app-center/stable-diffusion-webui/html")
|
32 |
os.system("rm ./footer.html && wget -O footer.html https://hf-mirror.com/datasets/ACCA225/openxlab/resolve/main/footer.html")
|
33 |
os.chdir("/home/xlab-app-center/stable-diffusion-webui/modules")
|
34 |
-
os.system("rm ./
|
35 |
def create_directory(directory_path):
|
36 |
if not os.path.exists(directory_path):
|
37 |
os.makedirs(directory_path)
|
|
|
31 |
os.chdir("/home/xlab-app-center/stable-diffusion-webui/html")
|
32 |
os.system("rm ./footer.html && wget -O footer.html https://hf-mirror.com/datasets/ACCA225/openxlab/resolve/main/footer.html")
|
33 |
os.chdir("/home/xlab-app-center/stable-diffusion-webui/modules")
|
34 |
+
os.system("rm ./ui_settings.py && wget -O ui_settings.py https://hf-mirror.com/datasets/ACCA225/openxlab/resolve/main/ui_settings.py ")
|
35 |
def create_directory(directory_path):
|
36 |
if not os.path.exists(directory_path):
|
37 |
os.makedirs(directory_path)
|