uartimcs commited on
Commit
624d1e9
·
verified ·
1 Parent(s): e7b766a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,5 +21,5 @@ model.eval()
21
  task_name = "SGSInvoice"
22
  task_prompt = f"<s_{task_name}>"
23
 
24
- demo = gr.Interface(fn=demo_process,inputs=gr.File(file_types=["*.pdf"]),outputs="json", title=f"Donut 🍩 demonstration for `{task_name}` task",)
25
  demo.launch()
 
21
  task_name = "SGSInvoice"
22
  task_prompt = f"<s_{task_name}>"
23
 
24
+ demo = gr.Interface(fn=demo_process,inputs=gr.File(file_count='single', file_types=['.pdf']),outputs="json", title=f"Donut 🍩 demonstration for `{task_name}` task",)
25
  demo.launch()