Correct variable name

This commit is contained in:
niten 2023-01-10 14:48:22 -08:00
parent 62d5bb7c2b
commit aaba00be01
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ def result_to_dict(res, base_url):
return { return {
"labels": map(lambda d: d.label, res.detections), "labels": map(lambda d: d.label, res.detections),
"detections": map(detection_to_dict, res.detections), "detections": map(detection_to_dict, res.detections),
"output": base_url + d.outfile, "output": base_url + res.outfile,
} }
# @app.put("/images") # @app.put("/images")