jobtimc commited on
Commit
757061e
·
verified ·
1 Parent(s): ae96abb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -22,7 +22,6 @@ image.save("COSCO_sample.jpg")
22
  image = Image.open("./sample-booking/ONEY_150.jpg")
23
  image.save("ONEY_sample.jpg")
24
 
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"]],)
 
22
  image = Image.open("./sample-booking/ONEY_150.jpg")
23
  image.save("ONEY_sample.jpg")
24
 
 
25
  model = DonutModel.from_pretrained("uartimcs/donut-booking-extract")
26
  model.eval()
27
  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"]],)