Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import torch
|
|
| 4 |
|
| 5 |
pipe = DiffusionPipeline.from_pretrained(
|
| 6 |
"stabilityai/stable-diffusion-xl-base-1.0",
|
| 7 |
-
torch_dtype=torch.
|
| 8 |
use_safetensors=True,
|
| 9 |
variant="fp16"
|
| 10 |
)
|
|
|
|
| 4 |
|
| 5 |
pipe = DiffusionPipeline.from_pretrained(
|
| 6 |
"stabilityai/stable-diffusion-xl-base-1.0",
|
| 7 |
+
torch_dtype=torch.float32,
|
| 8 |
use_safetensors=True,
|
| 9 |
variant="fp16"
|
| 10 |
)
|