ysharma HF Staff commited on
Commit
e7a2048
·
1 Parent(s): 1b80354
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,14 +22,14 @@ def engine(text_input):
22
  print(img[0])
23
  print(type(img[1]))
24
  print(len(img[1]))
25
- print(type(img[1][0]))
26
  print(img[1])
27
  #img = img[0]
28
  #inputs=['George',50,256,256,1,10]
29
  #run(prompt, steps, width, height, images, scale)
30
 
31
  #speech = text2speech(text_input)
32
- return img[1][0] #entities, speech, img
33
 
34
  app = gr.Interface(fn=engine,
35
  inputs=gr.inputs.Textbox(lines=5, label="Input Text"),
 
22
  print(img[0])
23
  print(type(img[1]))
24
  print(len(img[1]))
25
+ print(type(img[1][0][0]))
26
  print(img[1])
27
  #img = img[0]
28
  #inputs=['George',50,256,256,1,10]
29
  #run(prompt, steps, width, height, images, scale)
30
 
31
  #speech = text2speech(text_input)
32
+ return img[1][0][0] #entities, speech, img
33
 
34
  app = gr.Interface(fn=engine,
35
  inputs=gr.inputs.Textbox(lines=5, label="Input Text"),