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