Spaces:
Runtime error
Runtime error
update space
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ if torch.cuda.is_available():
|
|
18 |
pipe = pipe.to(device)
|
19 |
else:
|
20 |
pipe = DiffusionPipeline.from_pretrained(
|
21 |
-
"stabilityai/sdxl-turbo", use_safetensors=True
|
22 |
)
|
23 |
pipe = pipe.to(device)
|
24 |
|
|
|
18 |
pipe = pipe.to(device)
|
19 |
else:
|
20 |
pipe = DiffusionPipeline.from_pretrained(
|
21 |
+
"stabilityai/sdxl-turbo", torch_dtype=torch.float16, use_safetensors=True
|
22 |
)
|
23 |
pipe = pipe.to(device)
|
24 |
|