uartimcs commited on
Commit
537dfc9
·
verified ·
1 Parent(s): 4585126

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,5 +25,5 @@ image.save("ONEY_sample.jpg")
25
 
26
  model = DonutModel.from_pretrained("uartimcs/donut-booking-extract")
27
  model.eval()
28
- demo = gr.Interface(fn=demo_process,inputs="images",outputs="json", title=f"Donut 🍩 demonstration for `{task_name}` task", examples=[["CMA_sample.jpg"], ["COSCO_sample.jpg"], ["ONEY_sample.jpg"]],)
29
  demo.launch()
 
25
 
26
  model = DonutModel.from_pretrained("uartimcs/donut-booking-extract")
27
  model.eval()
28
+ demo = gr.Interface(fn=demo_process,inputs="image",outputs="json", title=f"Donut 🍩 demonstration for `{task_name}` task", examples=[["CMA_sample.jpg"], ["COSCO_sample.jpg"], ["ONEY_sample.jpg"]],)
29
  demo.launch()