JustKiddo commited on
Commit
4f3206e
·
verified ·
1 Parent(s): 478de70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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'),