Spaces:
Runtime error
Runtime error
Create main.sh
Browse files
main.sh
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Make sure Python version is 3.10+
|
2 |
+
python -m venv sd_env
|
3 |
+
source sd_env/bin/activate
|
4 |
+
git clone https://github.com/openvinotoolkit/stable-diffusion-webui.git
|
5 |
+
cd stable-diffusion-webui
|
6 |
+
|
7 |
+
export PYTORCH_TRACING_MODE=TORCHFX
|
8 |
+
export COMMANDLINE_ARGS="--skip-torch-cuda-test --precision full --no-half"
|
9 |
+
wget "https://civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com/141871/model/meina20V1120.Usvv.safetensors?X-Amz-Expires=86400&response-content-disposition=attachment%3B filename%3D%22meinamix_meinaV11.safetensors%22&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=e01358d793ad6966166af8b3064953ad/20240704/us-east-1/s3/aws4_request&X-Amz-Date=20240704T083500Z&X-Amz-SignedHeaders=host&X-Amz-Signature=0f172358f158e9bf4e7100264fc6637e6589f1a8ddc226367d8ba4572b385d01" -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/mienamix.safetensors
|
10 |
+
wget "https://civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com/model/920351/calicomixV85Fp16NoEma.a9tO.safetensors?X-Amz-Expires=86400&response-content-disposition=attachment%3B filename%3D%22calicomix_v85.safetensors%22&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=e01358d793ad6966166af8b3064953ad/20240704/us-east-1/s3/aws4_request&X-Amz-Date=20240704T083353Z&X-Amz-SignedHeaders=host&X-Amz-Signature=9894482d41e415a1fd3d3325cfd07cd758dde45b52dc75231597d71615c8a17f" -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/calicomix.safetensors
|
11 |
+
# Launch the WebUI
|
12 |
+
./webui.sh
|