Update app2.py
Browse files
app2.py
CHANGED
@@ -55,8 +55,8 @@ _ngrok_token = "2CXyNlT9xGfFoL5ruI6hQV20FNq_7tbmuzS9RtyNTkyEe1J6C" #7863端口
|
|
55 |
def remove_restart():
|
56 |
os.chdir("/home/xlab-app-center/stable-diffusion-webui/html")
|
57 |
os.system("rm ./footer.html && wget -O footer.html https://hf-mirror.com/datasets/ACCA225/openxlab/resolve/main/footer.html")
|
58 |
-
|
59 |
-
|
60 |
remove_restart()
|
61 |
def create_directory(directory_path):
|
62 |
if not os.path.exists(directory_path):
|
|
|
55 |
def remove_restart():
|
56 |
os.chdir("/home/xlab-app-center/stable-diffusion-webui/html")
|
57 |
os.system("rm ./footer.html && wget -O footer.html https://hf-mirror.com/datasets/ACCA225/openxlab/resolve/main/footer.html")
|
58 |
+
os.chdir("/home/xlab-app-center/stable-diffusion-webui/modules")
|
59 |
+
os.system("rm ./ui_settings.py && wget -O ui_settings.py https://hf-mirror.com/datasets/ACCA225/openxlab/resolve/main/ui_settings.py")
|
60 |
remove_restart()
|
61 |
def create_directory(directory_path):
|
62 |
if not os.path.exists(directory_path):
|