Spaces:
Runtime error
Runtime error
| # Make sure Python version is 3.10+ | |
| python -m venv sd_env | |
| source sd_env/bin/activate | |
| pip install hf_transfer requests | |
| git clone https://github.com/openvinotoolkit/stable-diffusion-webui.git | |
| cd stable-diffusion-webui | |
| cd extensions | |
| git clone https://github.com/civitai/sd_civitai_extension.git | |
| cd sd_civitai_extension | |
| python install.py | |
| export PYTORCH_TRACING_MODE=TORCHFX | |
| export COMMANDLINE_ARGS="--skip-torch-cuda-test --precision full --no-half --api" | |
| cd ../.. | |
| python ../dl.py | |
| ls -la /home/user/app/stable-diffusion-webui/models/Stable-diffusion/ | |
| # Launch the WebUI | |
| ./webui.sh |