From aaba00be011772570d17fbd4140c5afd7e523376 Mon Sep 17 00:00:00 2001 From: niten Date: Tue, 10 Jan 2023 14:48:22 -0800 Subject: [PATCH] Correct variable name --- src/objectifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/objectifier.py b/src/objectifier.py index 02c8eca..a7627d0 100644 --- a/src/objectifier.py +++ b/src/objectifier.py @@ -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")