Typo in var name...
This commit is contained in:
parent
65f163dd70
commit
25c69b1208
|
@ -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")))
|
||||
|
|
Loading…
Reference in New Issue