jonathanjordan21 commited on
Commit
97c5fb5
·
verified ·
1 Parent(s): e05b111

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -347,9 +347,12 @@ def respond(
347
  out += "\n\n" + build_output_vehicle(plate)
348
 
349
  if out == "":
 
350
  for code in request_numbers_copy:
351
  result, description, result_detail = get_calculation(code, "")
352
- out += "\n\n" + build_output_formula([description], [result_detail])
 
 
353
 
354
  return out
355
 
 
347
  out += "\n\n" + build_output_vehicle(plate)
348
 
349
  if out == "":
350
+ descriptions, result_details = [], []
351
  for code in request_numbers_copy:
352
  result, description, result_detail = get_calculation(code, "")
353
+ descriptions.append(description)
354
+ result_details.append(result_detail)
355
+ out += "\n\n" + build_output_formula(descriptions, result_details)
356
 
357
  return out
358