vk commited on
Commit
53b68cf
·
1 Parent(s): 8be12fa

handwritten model updates

Browse files
Files changed (2) hide show
  1. app.py +2 -1
  2. example/invoice360.jpg +0 -0
app.py CHANGED
@@ -59,6 +59,7 @@ if __name__ == "__main__":
59
 
60
  examples = [
61
  ["example/elron.png","what is the total amount ?", 80],
 
62
  ["example/invoice1.png","detect signature", 80],
63
  ["example/invoice1.png", "ocr",200],
64
  ]
@@ -70,6 +71,6 @@ if __name__ == "__main__":
70
  examples=examples,
71
  outputs=[gr.Textbox(), gr.Image(type="pil")],
72
  title="DocVQA with Paligemma2 VLM",
73
- description="DocVQA with Paligemma2 VLM"
74
  )
75
  iface.launch(share=True)
 
59
 
60
  examples = [
61
  ["example/elron.png","what is the total amount ?", 80],
62
+ ["example/invoice360.jpg","extract handwritten_text",128]
63
  ["example/invoice1.png","detect signature", 80],
64
  ["example/invoice1.png", "ocr",200],
65
  ]
 
71
  examples=examples,
72
  outputs=[gr.Textbox(), gr.Image(type="pil")],
73
  title="DocVQA with Paligemma2 VLM",
74
+ description="DocVQA with Paligemma2 VLM. Running on CPU .Each prompt can take 4-5 mins, better to clone & run locally. Thanks for your patience :) "
75
  )
76
  iface.launch(share=True)
example/invoice360.jpg ADDED