hantech commited on
Commit
4af40c1
β€’
1 Parent(s): 77d2fad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -153,7 +153,7 @@ choices = [
153
  gr.Interface(
154
  inference,
155
  [gr.inputs.Image(type='filepath', label='Input'),gr.inputs.CheckboxGroup(choices, type="value", default=['en'], label='language')],
156
- [gr.outputs.Image(type='numpy', label='Output'), gr.outputs.Dataframe(headers=['text', 'confidence'])],
157
  title=title,
158
  description=description,
159
  article=article,
 
153
  gr.Interface(
154
  inference,
155
  [gr.inputs.Image(type='filepath', label='Input'),gr.inputs.CheckboxGroup(choices, type="value", default=['en'], label='language')],
156
+ [gr.outputs.Image(type='pil', label='Output'), gr.outputs.Dataframe(type='pandas', headers=['text', 'confidence'])],
157
  title=title,
158
  description=description,
159
  article=article,