Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -227,7 +227,7 @@ def process_and_output_files(input_files):
|
|
227 |
category = response_dict.get("summary")
|
228 |
# Extract the relevant data
|
229 |
extracted_data = {
|
230 |
-
"Nature of Expenditure": category,
|
231 |
"Bill/Invoice No.": response_dict.get("uids"),
|
232 |
"Amount(Rs.)": response_dict.get("total")
|
233 |
}
|
|
|
227 |
category = response_dict.get("summary")
|
228 |
# Extract the relevant data
|
229 |
extracted_data = {
|
230 |
+
"Nature of Expenditure": response_dict.get("summary",category),
|
231 |
"Bill/Invoice No.": response_dict.get("uids"),
|
232 |
"Amount(Rs.)": response_dict.get("total")
|
233 |
}
|