qq1023 commited on
Commit
7271383
·
1 Parent(s): 2042016

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
  }