Spaces:
Runtime error
Runtime error
gsrathoreniks
commited on
Commit
•
a08da35
1
Parent(s):
32ea4c0
Update app.py
Browse files
app.py
CHANGED
@@ -24,8 +24,8 @@ os.system(f"sed -i -e 's/ outputs=\[/queue=False, &/g' /home/user/app/stable-dif
|
|
24 |
os.system(f"sed -i -e 's/ queue=False, / /g' /home/user/app/stable-diffusion-webui/modules/ui.py")
|
25 |
|
26 |
# ----------------------------Please duplicate this space and delete this block if you don't want to see the extra header----------------------------
|
27 |
-
os.system(f"wget -q https://github.com/camenduru/webui/raw/main/header_patch.py -O /home/user/app/header_patch.py")
|
28 |
-
os.system(f"sed -i -e '/demo:/r /home/user/app/header_patch.py' /home/user/app/stable-diffusion-webui/modules/ui.py")
|
29 |
# ---------------------------------------------------------------------------------------------------------------------------------------------------
|
30 |
|
31 |
os.system(f"rm -rfv /home/user/app/stable-diffusion-webui/scripts/")
|
|
|
24 |
os.system(f"sed -i -e 's/ queue=False, / /g' /home/user/app/stable-diffusion-webui/modules/ui.py")
|
25 |
|
26 |
# ----------------------------Please duplicate this space and delete this block if you don't want to see the extra header----------------------------
|
27 |
+
# os.system(f"wget -q https://github.com/camenduru/webui/raw/main/header_patch.py -O /home/user/app/header_patch.py")
|
28 |
+
# os.system(f"sed -i -e '/demo:/r /home/user/app/header_patch.py' /home/user/app/stable-diffusion-webui/modules/ui.py")
|
29 |
# ---------------------------------------------------------------------------------------------------------------------------------------------------
|
30 |
|
31 |
os.system(f"rm -rfv /home/user/app/stable-diffusion-webui/scripts/")
|