Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ def generate_images(dishes):
|
|
56 |
|
57 |
model_id = "runwayml/stable-diffusion-v1-5"
|
58 |
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
59 |
-
pipe = pipe.to("
|
60 |
|
61 |
images = []
|
62 |
for dish in truncated_dishes:
|
|
|
56 |
|
57 |
model_id = "runwayml/stable-diffusion-v1-5"
|
58 |
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
59 |
+
pipe = pipe.to("cuda")
|
60 |
|
61 |
images = []
|
62 |
for dish in truncated_dishes:
|