Spaces:
Build error
Build error
Ankur Goyal
commited on
Commit
·
3797c49
1
Parent(s):
883c3a9
Fix PDF keys
Browse files
app.py
CHANGED
@@ -86,10 +86,13 @@ EXAMPLES = [
|
|
86 |
]
|
87 |
|
88 |
QUESTION_FILES = {
|
89 |
-
"
|
90 |
-
"
|
91 |
}
|
92 |
|
|
|
|
|
|
|
93 |
FIELDS = {
|
94 |
"Vendor Name": ["Vendor Name - Logo?", "Vendor Name - Address?"],
|
95 |
"Vendor Address": ["Vendor Address?"],
|
|
|
86 |
]
|
87 |
|
88 |
QUESTION_FILES = {
|
89 |
+
"Tech Invoice": "acze_tech.pdf",
|
90 |
+
"Energy Invoice": "north_sea.pdf",
|
91 |
}
|
92 |
|
93 |
+
for q in QUESTION_FILES.keys():
|
94 |
+
assert any(x[1] == q for x in EXAMPLES)
|
95 |
+
|
96 |
FIELDS = {
|
97 |
"Vendor Name": ["Vendor Name - Logo?", "Vendor Name - Address?"],
|
98 |
"Vendor Address": ["Vendor Address?"],
|