ysharma HF staff commited on
Commit
27fc189
1 Parent(s): 8a9126b
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,6 +13,6 @@ iface = gr.Interface(fn=wordsrch,
13
  # Please choose from: 'numpy', 'pil', 'filepath'.
14
  inputs=gr.inputs.Image(type='filepath', label='Input'), #"en"],
15
  #outputs=gr.outputs.Image(type='file', label='Output'),
16
- outputs=[gr.outputs.Image(type='file', label='Output'), gr.outputs.Dataframe(type="pandas", headers=['text' , 'confidence'])],
17
  examples = examples)
18
  iface.launch(debug=True, enable_queue=True)
 
13
  # Please choose from: 'numpy', 'pil', 'filepath'.
14
  inputs=gr.inputs.Image(type='filepath', label='Input'), #"en"],
15
  #outputs=gr.outputs.Image(type='file', label='Output'),
16
+ outputs=[gr.outputs.Image(type='file', label='Output'), gr.outputs.Dataframe(type="array", headers=['text' , 'confidence'])],
17
  examples = examples)
18
  iface.launch(debug=True, enable_queue=True)