Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -105,8 +105,8 @@ choices = [
|
|
105 |
]
|
106 |
gr.Interface(
|
107 |
inference,
|
108 |
-
[gr.
|
109 |
-
[gr.
|
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,
|