ysharma HF staff commited on
Commit
b7b4bb2
1 Parent(s): 8c3be3d

updating prompts for latentDiff model

Browse files
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
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