Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ else:
|
|
| 11 |
raise ValueError("Hugging Face token not found. Please set it as a repository secret in the Space settings.")
|
| 12 |
|
| 13 |
# Load the Stable Diffusion 3.5 model
|
| 14 |
-
model_id = "stabilityai/stable-diffusion-3.5"
|
| 15 |
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
| 16 |
pipe.to("cuda")
|
| 17 |
|
|
|
|
| 11 |
raise ValueError("Hugging Face token not found. Please set it as a repository secret in the Space settings.")
|
| 12 |
|
| 13 |
# Load the Stable Diffusion 3.5 model
|
| 14 |
+
model_id = "stabilityai/stable-diffusion-3.5-large"
|
| 15 |
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
| 16 |
pipe.to("cuda")
|
| 17 |
|