How do I Upload Image from Deka Drive to Streamlit? #738
-
I tried to import an image from Deka Drive to Streamlit using the following method:In Database.py file:
In Main.py file:
And when I clicked the "Submit" button, the following error is what comes out. 😭 ### AttributeError: 'DriveStreamingBody' object has no attribute 'format'Traceback: Thank you for your response in advance!!! 😸 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Never mind. I solved it! |
Beta Was this translation helpful? Give feedback.
Never mind. I solved it!
It had something to do with not uploading the image bytes_data to Deta correctly, which made a chaos when I tried to retrieve it from Deta!