chuanli11 commited on
Commit
683c974
1 Parent(s): 8de13a9

remove header patch

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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: