Spaces:
Sleeping
Sleeping
jonathanjordan21
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -361,7 +361,7 @@ def respond(
|
|
361 |
if descriptions:
|
362 |
out += "\n\n" + build_output_formula(descriptions, result_details)
|
363 |
else:
|
364 |
-
return "Request code number
|
365 |
|
366 |
return out
|
367 |
|
@@ -390,9 +390,9 @@ def respond(
|
|
390 |
out += "\n\n" + build_outputs(results, descriptions, result_details, plate)
|
391 |
elif vehicle_tax_info.get(plate):
|
392 |
out += "\n\n" + build_output_vehicle(plate)
|
393 |
-
else:
|
394 |
-
|
395 |
-
|
396 |
|
397 |
if out == "":
|
398 |
if request_code[:3] == undetected_code:
|
|
|
361 |
if descriptions:
|
362 |
out += "\n\n" + build_output_formula(descriptions, result_details)
|
363 |
else:
|
364 |
+
return "Request code number: " + request_numbers + "\n\nRequest detail: " + request_details + "\n\nPlate numbers: " + plate_numbers
|
365 |
|
366 |
return out
|
367 |
|
|
|
390 |
out += "\n\n" + build_outputs(results, descriptions, result_details, plate)
|
391 |
elif vehicle_tax_info.get(plate):
|
392 |
out += "\n\n" + build_output_vehicle(plate)
|
393 |
+
# else:
|
394 |
+
# # + f"\nConfidence score: {round(scores[s_max].tolist(),3)}"
|
395 |
+
# out += "Request code number: " + request_code[:3] + "\nRequest detail: " + "\nPlate numbers: " + plate_numbers
|
396 |
|
397 |
if out == "":
|
398 |
if request_code[:3] == undetected_code:
|