Update app.py (#3)
Browse files- Update app.py (0cd136e57e85464a22e22c40f0a594f90d1b8198)
Co-authored-by: Aryan Singh <[email protected]>
app.py
CHANGED
@@ -63,7 +63,7 @@ def poem_generate(word):
|
|
63 |
def poem_to_image(poem):
|
64 |
print("*****Inside Poem_to_image")
|
65 |
poem = " ".join(poem.split('\n'))
|
66 |
-
poem = poem
|
67 |
steps, width, height, images, diversity = '50','256','256','1',15
|
68 |
img = gr.Interface.load("spaces/multimodalart/latentdiffusion")(poem, steps, width, height, images, diversity)[0]
|
69 |
return img
|
|
|
63 |
def poem_to_image(poem):
|
64 |
print("*****Inside Poem_to_image")
|
65 |
poem = " ".join(poem.split('\n'))
|
66 |
+
poem = poem
|
67 |
steps, width, height, images, diversity = '50','256','256','1',15
|
68 |
img = gr.Interface.load("spaces/multimodalart/latentdiffusion")(poem, steps, width, height, images, diversity)[0]
|
69 |
return img
|