Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,7 @@ def inference(img, lang):
|
|
| 23 |
|
| 24 |
gr.Interface(
|
| 25 |
inference,
|
| 26 |
-
[gr.inputs.Image(type='file', label='Input'),gr.inputs.CheckboxGroup(choices, type="value", default=['
|
| 27 |
[gr.outputs.Image(type='file', label='Output'), gr.outputs.Dataframe(headers=['text', 'confidence'])],
|
| 28 |
enable_queue=True
|
| 29 |
).launch(debug=True)
|
|
|
|
| 23 |
|
| 24 |
gr.Interface(
|
| 25 |
inference,
|
| 26 |
+
[gr.inputs.Image(type='file', label='Input'),gr.inputs.CheckboxGroup(choices, type="value", default=['vi'], label='language')],
|
| 27 |
[gr.outputs.Image(type='file', label='Output'), gr.outputs.Dataframe(headers=['text', 'confidence'])],
|
| 28 |
enable_queue=True
|
| 29 |
).launch(debug=True)
|