Hi, everyone… I’m trying to work on the GIF files and I’m easily able to upload it through file upload of streamlit but what comes next is giving me an error.
Usually, for Images I’m passing it through
im=Image.open(file_upload)
im.save(path_to_save)
and it works fine but when I try and do the same thing with the GIF’s it’s showing an error. I know that’s because the formats and files are different but how can I do that when I’m uploading few things together (GIF, JPG and PNG).