DucHaiten camenduru commited on
Commit
84a7d6f
1 Parent(s): 72a21ca

Update app.py (#3)

Browse files

- Update app.py (44a81bb511c32a79ee0c3f7fd8d2a3276c48d134)


Co-authored-by: camenduru <camenduru@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -32,6 +32,6 @@ os.system(f"rm -rfv /home/user/app/stable-diffusion-webui/scripts/")
32
  os.system(f"wget -q https://github.com/camenduru/webui/raw/main/shared-config.json -O /home/user/app/shared-config.json")
33
  os.system(f"wget -q https://github.com/camenduru/webui/raw/main/shared-ui-config.json -O /home/user/app/shared-ui-config.json")
34
 
35
- os.system(f"wget -q https://huggingface.co/DucHaiten/DucHaitenAIart/resolve/main/DucHaitenAIart_v1.1_emaonly.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/DucHaitenAIart_v1.1_emaonly.ckpt")
36
 
37
- os.system(f"python launch.py --force-enable-xformers --disable-console-progressbars --enable-console-prompts --ui-config-file /home/user/app/shared-ui-config.json --ui-settings-file /home/user/app/shared-config.json --cors-allow-origins huggingface.co,hf.space --no-progressbar-hiding")
 
32
  os.system(f"wget -q https://github.com/camenduru/webui/raw/main/shared-config.json -O /home/user/app/shared-config.json")
33
  os.system(f"wget -q https://github.com/camenduru/webui/raw/main/shared-ui-config.json -O /home/user/app/shared-ui-config.json")
34
 
35
+ os.system(f"wget -q https://huggingface.co/ckpt/DucHaitenAIart_v1.1a/resolve/main/DucHaitenAIart_v1.1a_emaonly.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/DucHaitenAIart_v1.1_emaonly.ckpt")
36
 
37
+ os.system(f"python launch.py --force-enable-xformers --ui-config-file /home/user/app/ui-config.json --ui-settings-file /home/user/app/config.json --disable-console-progressbars --enable-console-prompts --cors-allow-origins huggingface.co,hf.space --no-progressbar-hiding --api")