Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ os.system(f"git clone -b v2.6 https://github.com/camenduru/stable-diffusion-webu
|
|
4 |
os.chdir(f"/home/user/app/stable-diffusion-webui")
|
5 |
os.system(f"git lfs install")
|
6 |
os.system(f"git reset --hard")
|
7 |
-
|
8 |
os.system(f"sed -i -e '253,258d' /home/user/app/stable-diffusion-webui/modules/ui_settings.py")
|
9 |
os.system(f"sed -i -e '186,228d' /home/user/app/stable-diffusion-webui/modules/ui_settings.py")
|
10 |
os.system(f"sed -i -e '171,178d' /home/user/app/stable-diffusion-webui/modules/ui_settings.py")
|
|
|
4 |
os.chdir(f"/home/user/app/stable-diffusion-webui")
|
5 |
os.system(f"git lfs install")
|
6 |
os.system(f"git reset --hard")
|
7 |
+
os.system(f"sed -i -e '/demo:/r /home/user/app/header_patch_v2.py' /home/user/app/stable-diffusion-webui/modules/ui.py")
|
8 |
os.system(f"sed -i -e '253,258d' /home/user/app/stable-diffusion-webui/modules/ui_settings.py")
|
9 |
os.system(f"sed -i -e '186,228d' /home/user/app/stable-diffusion-webui/modules/ui_settings.py")
|
10 |
os.system(f"sed -i -e '171,178d' /home/user/app/stable-diffusion-webui/modules/ui_settings.py")
|