camenduru commited on
Commit
3536204
1 Parent(s): e3b697c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -22,6 +22,4 @@ os.system(f"sed -i -e '/(train_interface, \"Train\", \"ti\"),/d' /home/user/app/
22
  os.system(f"sed -i -e '/settings_interface, \"Settings\", \"settings\"/d' /home/user/app/stable-diffusion-webui/modules/ui.py")
23
  os.system(f"sed -i -e '/extensions_interface, \"Extensions\", \"extensions\"/d' /home/user/app/stable-diffusion-webui/modules/ui.py")
24
  # ---------------------------------------------------------------------------------------------------------------------------------------------------
25
- os.system(f"cp /home/user/app/config.json /home/user/app/stable-diffusion-webui/")
26
- os.system(f"cp /home/user/app/ui-config.json /home/user/app/stable-diffusion-webui/")
27
- os.system(f"python launch.py --force-enable-xformers")
 
22
  os.system(f"sed -i -e '/settings_interface, \"Settings\", \"settings\"/d' /home/user/app/stable-diffusion-webui/modules/ui.py")
23
  os.system(f"sed -i -e '/extensions_interface, \"Extensions\", \"extensions\"/d' /home/user/app/stable-diffusion-webui/modules/ui.py")
24
  # ---------------------------------------------------------------------------------------------------------------------------------------------------
25
+ os.system(f"python launch.py --force-enable-xformers --disable-console-progressbars --enable-console-prompts --cors-allow-origins --cors-allow-origins-regex --gradio-debug --ui-config-file --ui-config-file /home/user/app/ui-config.json --ui-settings-file /home/user/app/config.json")