Correct variable name
This commit is contained in:
parent
62d5bb7c2b
commit
aaba00be01
|
@ -87,7 +87,7 @@ def result_to_dict(res, base_url):
|
|||
return {
|
||||
"labels": map(lambda d: d.label, res.detections),
|
||||
"detections": map(detection_to_dict, res.detections),
|
||||
"output": base_url + d.outfile,
|
||||
"output": base_url + res.outfile,
|
||||
}
|
||||
|
||||
# @app.put("/images")
|
||||
|
|
Loading…
Reference in New Issue