Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,4 +10,5 @@ os.system(f"sed -i -e '/(train_interface, \"Train\", \"ti\"),/d' /home/user/app/
|
|
10 |
os.system(f"sed -i -e '/settings_interface, \"Settings\", \"settings\"/d' /home/user/app/stable-diffusion-webui/modules/ui.py")
|
11 |
os.system(f"sed -i -e '/extensions_interface, \"Extensions\", \"extensions\"/d' /home/user/app/stable-diffusion-webui/modules/ui.py")
|
12 |
# ---------------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
13 |
os.system(f"python launch.py --force-enable-xformers --disable-console-progressbars --enable-console-prompts --ui-config-file /home/user/app/ui-config.json --ui-settings-file /home/user/app/config.json")
|
|
|
10 |
os.system(f"sed -i -e '/settings_interface, \"Settings\", \"settings\"/d' /home/user/app/stable-diffusion-webui/modules/ui.py")
|
11 |
os.system(f"sed -i -e '/extensions_interface, \"Extensions\", \"extensions\"/d' /home/user/app/stable-diffusion-webui/modules/ui.py")
|
12 |
# ---------------------------------------------------------------------------------------------------------------------------------------------------
|
13 |
+
os.system(f"sed -i -e 's/gradio==3.9/gradio==3.12.0/g' /home/user/app/stable-diffusion-webui/requirements_versions.txt")
|
14 |
os.system(f"python launch.py --force-enable-xformers --disable-console-progressbars --enable-console-prompts --ui-config-file /home/user/app/ui-config.json --ui-settings-file /home/user/app/config.json")
|