Spaces:
Runtime error
Runtime error
Update app. Supports only cpu
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ from diffusers.pipelines import StableDiffusionPipeline
|
|
| 5 |
pipe = StableDiffusionPipeline.from_pretrained(
|
| 6 |
"runwayml/stable-diffusion-v1-5",
|
| 7 |
safety_checker=None,
|
| 8 |
-
torch_dtype=torch.
|
| 9 |
use_safetensors=True,
|
| 10 |
)
|
| 11 |
|
|
|
|
| 5 |
pipe = StableDiffusionPipeline.from_pretrained(
|
| 6 |
"runwayml/stable-diffusion-v1-5",
|
| 7 |
safety_checker=None,
|
| 8 |
+
torch_dtype=torch.float32,
|
| 9 |
use_safetensors=True,
|
| 10 |
)
|
| 11 |
|