Spaces:
Runtime error
Runtime error
remove header patch
Browse files
app.py
CHANGED
@@ -24,8 +24,8 @@ os.system(f"sed -i -e '/queue=False,/!s/ outputs=\[/queue=False, &/g' /home/demo
|
|
24 |
os.system(f"sed -i -e 's/ queue=False, / /g' /home/demo/source/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/demo/source/header_patch.py")
|
28 |
-
os.system(f"sed -i -e '/demo:/r /home/demo/source/header_patch.py' /home/demo/source/stable-diffusion-webui/modules/ui.py")
|
29 |
# ---------------------------------------------------------------------------------------------------------------------------------------------------
|
30 |
|
31 |
if "IS_SHARED_UI" in os.environ:
|
|
|
24 |
os.system(f"sed -i -e 's/ queue=False, / /g' /home/demo/source/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/demo/source/header_patch.py")
|
28 |
+
# os.system(f"sed -i -e '/demo:/r /home/demo/source/header_patch.py' /home/demo/source/stable-diffusion-webui/modules/ui.py")
|
29 |
# ---------------------------------------------------------------------------------------------------------------------------------------------------
|
30 |
|
31 |
if "IS_SHARED_UI" in os.environ:
|