Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def generate_dishes(ingredients, n=3, max_tokens=150, temperature=0.7):
|
|
53 |
|
54 |
def generate_image(prompt):
|
55 |
model_id = "runwayml/stable-diffusion-v1-5"
|
56 |
-
pipe = StableDiffusionPipeline.from_pretrained(model_id
|
57 |
|
58 |
# If you have a GPU available, uncomment the following line
|
59 |
# pipe = pipe.to("cuda")
|
|
|
53 |
|
54 |
def generate_image(prompt):
|
55 |
model_id = "runwayml/stable-diffusion-v1-5"
|
56 |
+
pipe = StableDiffusionPipeline.from_pretrained(model_id)
|
57 |
|
58 |
# If you have a GPU available, uncomment the following line
|
59 |
# pipe = pipe.to("cuda")
|