Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ def poem_to_image(poem):
|
|
81 |
poem = " ".join(poem.split('\n'))
|
82 |
poem = poem + " oil on canvas."
|
83 |
steps, width, height, images, diversity = '50','256','256','1',15
|
84 |
-
img = gr.Interface
|
85 |
return img
|
86 |
|
87 |
demo = gr.Blocks()
|
|
|
81 |
poem = " ".join(poem.split('\n'))
|
82 |
poem = poem + " oil on canvas."
|
83 |
steps, width, height, images, diversity = '50','256','256','1',15
|
84 |
+
img = gr.Interface(examples=[["living, loving, feeling good"], ["I want to live. I want to give."],["Ive been to Hollywood. Ive been to Redwood"]]).load("spaces/multimodalart/latentdiffusion")(poem, steps, width, height, images, diversity)[0]
|
85 |
return img
|
86 |
|
87 |
demo = gr.Blocks()
|