Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -66,9 +66,12 @@ else:
|
|
66 |
#os.system(f"wget -q https://huggingface.co/stabilityai/stable-diffusion-2/resolve/main/768-v-ema.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/768-v-ema.ckpt")
|
67 |
#os.system(f"wget -q https://raw.githubusercontent.com/Stability-AI/stablediffusion/main/configs/stable-diffusion/v2-inference-v.yaml -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/768-v-ema.yaml")
|
68 |
|
69 |
-
os.system(f"wget -q https://huggingface.co/
|
70 |
-
os.system(f"wget -q https://huggingface.co/
|
71 |
-
os.system(f"wget -q https://huggingface.co/
|
|
|
|
|
|
|
72 |
|
73 |
os.system(f"python launch.py --precision full --no-half --use-cpu SD BSRGAN ESRGAN SCUNet CodeFormer --all --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 --skip-torch-cuda-test")
|
74 |
|
|
|
66 |
#os.system(f"wget -q https://huggingface.co/stabilityai/stable-diffusion-2/resolve/main/768-v-ema.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/768-v-ema.ckpt")
|
67 |
#os.system(f"wget -q https://raw.githubusercontent.com/Stability-AI/stablediffusion/main/configs/stable-diffusion/v2-inference-v.yaml -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/768-v-ema.yaml")
|
68 |
|
69 |
+
os.system(f"wget -q https://huggingface.co/dreamlike-art/dreamlike-photoreal-2.0/resolve/main/dreamlike-photoreal-2.0.safetensors -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/dreamlike-photoreal-2.0.safetensors")
|
70 |
+
os.system(f"wget -q https://huggingface.co/dreamlike-art/dreamlike-anime-1.0/resolve/main/dreamlike-anime-1.0.safetensors -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/dreamlike-anime-1.0.safetensors")
|
71 |
+
os.system(f"wget -q https://huggingface.co/dreamlike-art/dreamlike-diffusion-1.0/resolve/main/dreamlike-diffusion-1.0.safetensors -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/dreamlike-diffusion-1.0.safetensors")
|
72 |
+
os.system(f"wget -q https://huggingface.co/dreamlike-art/dreamlike-photoreal-1.0/resolve/main/dreamlike-photoreal-1.0.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/dreamlike-photoreal-1.0.ckpt")
|
73 |
+
|
74 |
+
|
75 |
|
76 |
os.system(f"python launch.py --precision full --no-half --use-cpu SD BSRGAN ESRGAN SCUNet CodeFormer --all --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 --skip-torch-cuda-test")
|
77 |
|