luisrguerra commited on
Commit
fc39e8c
1 Parent(s): 6168dbb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ os.chdir("/home/user/app/stable-diffusion-webui")
12
 
13
  os.system(f"wget -q https://github.com/camenduru/webui/raw/main/env_patch.py -O /home/user/app/env_patch.py")
14
  os.system(f"sed -i -e '/import image_from_url_text/r /home/user/app/env_patch.py' /home/user/app/stable-diffusion-webui/modules/ui.py")
15
- os.system(f"sed -i -e '/(modelmerger_ui.blocks, \"Checkpoint Merger\", \"modelmerger\"),/d' /home/user/app/stable-diffusion-webui/modules/ui.py")
16
  os.system(f"sed -i -e '/(train_interface, \"Train\", \"train\"),/d' /home/user/app/stable-diffusion-webui/modules/ui.py")
17
  # disable extension tab
18
  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"wget -q https://github.com/camenduru/webui/raw/main/env_patch.py -O /home/user/app/env_patch.py")
14
  os.system(f"sed -i -e '/import image_from_url_text/r /home/user/app/env_patch.py' /home/user/app/stable-diffusion-webui/modules/ui.py")
15
+ #os.system(f"sed -i -e '/(modelmerger_ui.blocks, \"Checkpoint Merger\", \"modelmerger\"),/d' /home/user/app/stable-diffusion-webui/modules/ui.py")
16
  os.system(f"sed -i -e '/(train_interface, \"Train\", \"train\"),/d' /home/user/app/stable-diffusion-webui/modules/ui.py")
17
  # disable extension tab
18
  os.system(f"sed -i -e '/extensions_interface, \"Extensions\", \"extensions\"/d' /home/user/app/stable-diffusion-webui/modules/ui.py")