import os os.system(f"git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui /home/user/app/web") os.chdir("/home/user/app/web") os.system(f"wget -q https://huggingface.co/prompthero/openjourney/resolve/main/mdjrny-v4.ckpt -O /home/user/app/web/models/Stable-diffusion/mdjrny-v4.ckpt") os.system(f"python launch.py --precision full --no-half --use-cpu SD GFPGAN BSRGAN ESRGAN SCUNet CodeFormer --all --ui-config-file /home/user/app/ui-config.json --ui-settings-file /home/user/app/config.json --cors-allow-origins huggingface.co,hf.space --no-progressbar-hiding --skip-torch-cuda-test")