updating prompts for latentDiff model
Browse files
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 + " oil on canvas."
|
| 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
|