ysharma HF staff aryan0078 commited on
Commit
8c3be3d
·
1 Parent(s): 39476fe

Update app.py (#3)

Browse files

- Update app.py (0cd136e57e85464a22e22c40f0a594f90d1b8198)


Co-authored-by: Aryan Singh <[email protected]>

Files changed (1) hide show
  1. app.py +1 -1
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 + " 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
 
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