Spaces:
Runtime error
Runtime error
Download app_civitai.py from smartfeed/image2image: direct link, hf CLI and curl.
- Browser
- Download file 311 Bytes
-
https://huggingface.co/spaces/smartfeed/image2image/resolve/main/app_civitai.py
- Command line
-
hf download hf://spaces/smartfeed/image2image/app_civitai.py
-
curl -L -o app_civitai.py https://huggingface.co/spaces/smartfeed/image2image/resolve/main/app_civitai.py
311 Bytes
| import os | |
| from diffusers.pipelines.stable_diffusion.convert_from_ckpt import download_from_original_stable_diffusion_ckpt | |
| if not os.path.exists('juggernaut_aftermath-inpainting.safetensors'): | |
| os.system("wget https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.5.0/realesr-general-x4v3.pth -P .") |