Hey everyone
I was wondering how can I use the file upload function to receive several types of files like images, pdf, CSV and so on. Basically extual and image files
is that even possible? or should I try to use a different way of implementation?
Hey everyone
I was wondering how can I use the file upload function to receive several types of files like images, pdf, CSV and so on. Basically extual and image files
is that even possible? or should I try to use a different way of implementation?
Yes, it is via the type argument!
(link) ![]()
| type (str or list of str or None) | Array of allowed extensions. [‘png’, ‘jpg’] The default is None, which means all extensions are allowed. |
|---|---|
Best,
Charly
thanks!
Welcome!
Happy Streamlit-in! ![]()
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.