hantech commited on
Commit
6eaa19c
β€’
1 Parent(s): ad57132

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -105,8 +105,8 @@ choices = [
105
  ]
106
  gr.Interface(
107
  inference,
108
- [gr.inputs.Image(type='filepath', label='Input'),gr.inputs.CheckboxGroup(choices, type="value", default=['vi'], label='language'), gr.inputs.Textbox(label='Labels',default='Người nα»™p, TiαΊΏp nhαΊ­n hα»“ sΖ‘ của')],
109
- [gr.outputs.Image(type='pil', label='Output'), gr.outputs.Textbox(label='Text'), gr.outputs.JSON(label='document')],
110
  title=title,
111
  description=description,
112
  article=article,
 
105
  ]
106
  gr.Interface(
107
  inference,
108
+ [gr.Image(type='filepath', label='Input'),gr.CheckboxGroup(choices, type="value", default=['vi'], label='language'), gr.Textbox(label='Labels',default='Người nα»™p, TiαΊΏp nhαΊ­n hα»“ sΖ‘ của')],
109
+ [gr.Image(type='pil', label='Output'), gr.Textbox(label='Text'), gr.JSON(label='document')],
110
  title=title,
111
  description=description,
112
  article=article,