umair894 commited on
Commit
43553d2
1 Parent(s): b109e7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +22 -22
app.py CHANGED
@@ -71,28 +71,28 @@ def normalize_bbox(box, width, height, padding=0.005):
71
  return [min_x * width, min_y * height, max_x * width, max_y * height]
72
 
73
 
74
- # examples = [
75
- # [
76
- # "invoice.png",
77
- # "What is the invoice number?",
78
- # ],
79
- # [
80
- # "contract.jpeg",
81
- # "What is the purchase amount?",
82
- # ],
83
- # [
84
- # "statement.png",
85
- # "What are net sales for 2020?",
86
- # ],
87
- # # [
88
- # # "docquery.png",
89
- # # "How many likes does the space have?",
90
- # # ],
91
- # # [
92
- # # "hacker_news.png",
93
- # # "What is the title of post number 5?",
94
- # # ],
95
- # ]
96
 
97
  question_files = {
98
  "What are net sales for 2020?": "statement.pdf",
 
71
  return [min_x * width, min_y * height, max_x * width, max_y * height]
72
 
73
 
74
+ examples = [
75
+ # [
76
+ # "invoice.png",
77
+ # "What is the invoice number?",
78
+ # ],
79
+ [
80
+ "contract.jpeg",
81
+ "What is the purchase amount?",
82
+ ],
83
+ [
84
+ "statement.png",
85
+ "What are net sales for 2020?",
86
+ ],
87
+ # [
88
+ # "docquery.png",
89
+ # "How many likes does the space have?",
90
+ # ],
91
+ # [
92
+ # "hacker_news.png",
93
+ # "What is the title of post number 5?",
94
+ # ],
95
+ ]
96
 
97
  question_files = {
98
  "What are net sales for 2020?": "statement.pdf",