Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -151,8 +151,8 @@ choices = [
|
|
151 |
]
|
152 |
gr.Interface(
|
153 |
inference,
|
154 |
-
[gr.inputs.Image(type='
|
155 |
-
[gr.outputs.Image(type='
|
156 |
title=title,
|
157 |
description=description,
|
158 |
article=article,
|
|
|
151 |
]
|
152 |
gr.Interface(
|
153 |
inference,
|
154 |
+
[gr.inputs.Image(type='pil', label='Input'),gr.inputs.CheckboxGroup(choices, type="value", default=['en'], label='language')],
|
155 |
+
[gr.outputs.Image(type='pil', label='Output'), gr.outputs.Dataframe(headers=['text', 'confidence'])],
|
156 |
title=title,
|
157 |
description=description,
|
158 |
article=article,
|