awacke1 commited on
Commit
6fcfa16
·
1 Parent(s): 141ff1d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.load("spaces/multimodalart/latentdiffusion", examples=[["living, loving, feeling good"], ["I want to live. I want to give."],["Ive been to Hollywood. Ive been to Redwood"]])(poem, steps, width, height, images, diversity)[0]
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()