Spaces:
Runtime error
Runtime error
pawandev commited on
Commit ·
9e27d63
1
Parent(s): ce8ac2a
Some changes due to error of image not found
Browse filesFiles changed (3)
12env.env39 unmodified lines4041424344454639 unmodified linesfinal_image = all_cropped_images_to_one_image(cropped_images, separator_image_path='app/utils/seprator3.png')buffer = BytesIO()# final_image.save(buffer, format=input_image_format)buffer.seek(0)response = analyze_image(buffer.getvalue(), input_image_format)39 unmodified lines4041424344454639 unmodified linesfinal_image = all_cropped_images_to_one_image(cropped_images, separator_image_path='app/utils/seprator3.png')buffer = BytesIO()final_image.save(buffer, format=input_image_format)buffer.seek(0)response = analyze_image(buffer.getvalue(), input_image_format)
41 unmodified lines4243444546474841 unmodified linescombined_image.paste(separator_image, (0, y))y += separator_height# combined_image.save("combinedImage.png")return combined_imagedef preprocess_image(image):41 unmodified lines4243444546474841 unmodified linescombined_image.paste(separator_image, (0, y))y += separator_heightcombined_image.save("combinedImage.png")return combined_imagedef preprocess_image(image):
.gitignoreAdded+2
app/services/panServices/panOcr.py+1-1
app/utils/imageUtils.py+1-1