merve HF staff commited on
Commit
99770ac
β€’
1 Parent(s): a5eec45

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -98,7 +98,9 @@ with gr.Blocks(title="UDOP") as demo:
98
  examples = [[PromptValue(image = "./dummy_pdf.png",
99
  points = [[87.0, 908.0, 2.0, 456.0, 972.0, 3.0]]), "Question answering. What is the objective?"],
100
  [PromptValue(image = "./docvqa_example (3).png",
101
- points = [[]]), "Question answering. How much is the total?"]],
 
 
102
  inputs=[im, text_prompt],
103
  outputs=output,
104
  fn=infer_box,
 
98
  examples = [[PromptValue(image = "./dummy_pdf.png",
99
  points = [[87.0, 908.0, 2.0, 456.0, 972.0, 3.0]]), "Question answering. What is the objective?"],
100
  [PromptValue(image = "./docvqa_example (3).png",
101
+ points = [[]]), "Question answering. How much is the total?"],
102
+ [PromptValue(image = "./docvqa_example (3).png",
103
+ points = [[]]), "Document Classification."]],
104
  inputs=[im, text_prompt],
105
  outputs=output,
106
  fn=infer_box,