ysharma HF staff commited on
Commit
f99bb9b
1 Parent(s): 7021e6a
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -31,8 +31,8 @@ def engine(text_input):
31
  return img #entities, speech, img
32
 
33
  #image = gr.outputs.Image(type="pil", label="output image")
34
- app = gr.Interface(fn=engine,
35
- inputs=gr.inputs.Textbox(lines=5, label="Input Text"),
36
  gr.outputs.Image(type="pil", label="Output"),
37
  #live=True,
38
  #outputs=[#gr.outputs.Textbox(type="auto", label="Text"),gr.outputs.Audio(type="file", label="Speech Answer"),
 
31
  return img #entities, speech, img
32
 
33
  #image = gr.outputs.Image(type="pil", label="output image")
34
+ app = gr.Interface(engine,
35
+ gr.inputs.Textbox(lines=5, label="Input Text"),
36
  gr.outputs.Image(type="pil", label="Output"),
37
  #live=True,
38
  #outputs=[#gr.outputs.Textbox(type="auto", label="Text"),gr.outputs.Audio(type="file", label="Speech Answer"),