Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,6 +21,8 @@ def inference(img, lang):
|
|
| 21 |
im.save('result.jpg')
|
| 22 |
return ['result.jpg', pd.DataFrame(bounds).iloc[: , 1:]]
|
| 23 |
|
|
|
|
|
|
|
| 24 |
gr.Interface(
|
| 25 |
inference,
|
| 26 |
inputs=[gr.Image(type='pil', label='Input'),
|
|
|
|
| 21 |
im.save('result.jpg')
|
| 22 |
return ['result.jpg', pd.DataFrame(bounds).iloc[: , 1:]]
|
| 23 |
|
| 24 |
+
choices = ["en", "vi"]
|
| 25 |
+
|
| 26 |
gr.Interface(
|
| 27 |
inference,
|
| 28 |
inputs=[gr.Image(type='pil', label='Input'),
|