ysharma HF staff commited on
Commit
ef949f6
1 Parent(s): 1102bbb
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -11,8 +11,9 @@ def engine(text_input):
11
  entities = [tupl for tupl in entities if None not in tupl]
12
  entities_num = len(entities)
13
 
14
- img = gr.Interface.load("spaces/multimodalart/latentdiffusion", inputs=[gr.inputs.Textbox(default='George'),], title="Convert text to image")
15
  #inputs=['George',50,256,256,1,10]
 
16
 
17
  speech = text2speech(text_input)
18
  return entities, speech, img
 
11
  entities = [tupl for tupl in entities if None not in tupl]
12
  entities_num = len(entities)
13
 
14
+ img = gr.Interface.load("spaces/multimodalart/latentdiffusion", inputs=[gr.inputs.Textbox(default='George'),50,256,256,1,10], title="Convert text to image")
15
  #inputs=['George',50,256,256,1,10]
16
+ #run(prompt, steps, width, height, images, scale)
17
 
18
  speech = text2speech(text_input)
19
  return entities, speech, img