diff --git a/src/objectifier.py b/src/objectifier.py index d364259..2cec8c6 100644 --- a/src/objectifier.py +++ b/src/objectifier.py @@ -111,8 +111,8 @@ def analyze_image(request: Request, image: UploadFile): chunk = image.file.read(buffer_size) result = detector.detect_objects( infile, - str(outgoing_dir / (file_hash.hexdigest() + ".png")), - detection_timeout) + detection_timeout, + str(outgoing_dir / (file_hash.hexdigest() + ".png"))) remove(infile) return result_to_dict(result, base_url)