vithacocf commited on
Commit
0fb18ff
·
verified ·
1 Parent(s): 8f3b9cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -116,8 +116,7 @@ def predict(image_path, prompt=None):
116
  demo = gr.Interface(
117
  fn=predict,
118
  inputs=[
119
- # gr.Image(type="pil", label="Tải ảnh tài liệu lên"),
120
- gr.Image(type="filepath", label="Tải ảnh tài liệu lên"),
121
  gr.Textbox(label="Gợi ý (tuỳ chọn)", placeholder="VD: Trích số hóa đơn")
122
  ],
123
  outputs="text",
 
116
  demo = gr.Interface(
117
  fn=predict,
118
  inputs=[
119
+ gr.Image(type="pil", label="Tải ảnh tài liệu lên"),
 
120
  gr.Textbox(label="Gợi ý (tuỳ chọn)", placeholder="VD: Trích số hóa đơn")
121
  ],
122
  outputs="text",