Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,12 +16,11 @@ login(token=a )
|
|
| 16 |
|
| 17 |
|
| 18 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 19 |
-
|
| 20 |
#model_repo_id = "stable-diffusion-v1-5/stable-diffusion-v1-5"
|
| 21 |
#model_repo_id = "cagliostrolab/animagine-xl-4.0"
|
| 22 |
#model_repo_id = "stabilityai/stable-diffusion-xl-base-1.0"
|
| 23 |
#model_repo_id ="black-forest-labs/FLUX.1-dev"
|
| 24 |
-
model_repo_id = "HairyManXLV1-CruzFlesh.safetensors"
|
| 25 |
|
| 26 |
|
| 27 |
if torch.cuda.is_available():
|
|
|
|
| 16 |
|
| 17 |
|
| 18 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 19 |
+
model_repo_id = "stabilityai/sdxl-turbo" # "stable-diffusion-v1-5/stable-diffusion-v1-5" # Replace to the model you would like to use
|
| 20 |
#model_repo_id = "stable-diffusion-v1-5/stable-diffusion-v1-5"
|
| 21 |
#model_repo_id = "cagliostrolab/animagine-xl-4.0"
|
| 22 |
#model_repo_id = "stabilityai/stable-diffusion-xl-base-1.0"
|
| 23 |
#model_repo_id ="black-forest-labs/FLUX.1-dev"
|
|
|
|
| 24 |
|
| 25 |
|
| 26 |
if torch.cuda.is_available():
|