Spaces:
Runtime error
Runtime error
Commit
·
ff69ab2
1
Parent(s):
f182225
Update app.py
Browse files
app.py
CHANGED
|
@@ -117,7 +117,7 @@ with block:
|
|
| 117 |
model_id = "CompVis/stable-diffusion-v1-4"
|
| 118 |
|
| 119 |
pip = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
| 120 |
-
pip =
|
| 121 |
|
| 122 |
with gr.Row():
|
| 123 |
with gr.Column():
|
|
|
|
| 117 |
model_id = "CompVis/stable-diffusion-v1-4"
|
| 118 |
|
| 119 |
pip = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
| 120 |
+
pip = pip.to("cuda")
|
| 121 |
|
| 122 |
with gr.Row():
|
| 123 |
with gr.Column():
|