Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,7 +34,7 @@ if torch.cuda.is_available():
|
|
| 34 |
variant="fp16",
|
| 35 |
).to("cuda")
|
| 36 |
pipe_sd15 = StableDiffusionPipeline.from_pretrained(
|
| 37 |
-
"
|
| 38 |
).to("cuda")
|
| 39 |
|
| 40 |
if SAFETY_CHECKER:
|
|
|
|
| 34 |
variant="fp16",
|
| 35 |
).to("cuda")
|
| 36 |
pipe_sd15 = StableDiffusionPipeline.from_pretrained(
|
| 37 |
+
"ZeroCool94/stable-diffusion-v1-5", torch_dtype=torch.float16,
|
| 38 |
).to("cuda")
|
| 39 |
|
| 40 |
if SAFETY_CHECKER:
|