I'm using your package but cannot change any local image instead of your's example. Specifically, I have tried read some type of image such as .jpg and .png by using PIL.Image, but then it shows an error of cannot serialize as bellow
MarshallComponentException: ('Could not convert component args to JSON', TypeError('Object of type PngImageFile is not JSON serializable'))
Hi authors,
I'm using your package but cannot change any local image instead of your's example. Specifically, I have tried read some type of image such as .jpg and .png by using PIL.Image, but then it shows an error of cannot serialize as bellow
How can I fix this