image2image / app_civitai.py
zhiweili
test control img2img
bca475d
raw
history blame contribute delete
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 .")