Typo in var name...

This commit is contained in:
niten 2023-06-06 09:38:05 -07:00
parent 65f163dd70
commit 25c69b1208
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ def analyze_image(request: Request, image: UploadFile):
print ("writing " + str(buffer_size) + " bytes")
f.write(chunk)
chunk = image.file.read(buffer_size)
dectect_result = detector.detect_objects(
detect_result = detector.detect_objects(
infile,
detection_timeout,
str(outgoing_dir / (file_hash.hexdigest() + ".png")))