uartimcs commited on
Commit
026eac8
·
verified ·
1 Parent(s): aeab1f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ task_name = "SGSInvoice"
29
  task_prompt = f"<s_{task_name}>"
30
  model = DonutModel.from_pretrained("uartimcs/donut-invoice-extract")
31
  model.eval()
32
- demo = gr.Interface(fn=process,inputs=gr.File(label="Upload PDF File"),outputs=gr.File(label="Download Output"),, title=f"Donut 🍩 demonstration for `{task_name}` task",)
33
  demo.launch()
34
 
35
 
 
29
  task_prompt = f"<s_{task_name}>"
30
  model = DonutModel.from_pretrained("uartimcs/donut-invoice-extract")
31
  model.eval()
32
+ demo = gr.Interface(fn=process,inputs=gr.File(label="Upload PDF File"),outputs=gr.File(label="Download Output"), title=f"Donut 🍩 demonstration for `{task_name}` task",)
33
  demo.launch()
34
 
35