Skip to content

Glossary: AI App Interfaces

File upload and download (st.file_uploader, st.download_button)

Also written: st.file_uploader, st.download_button, file_uploader, download_button

`st.file_uploader` draws a drop zone and returns `None` until a file arrives, then a file-like object. `st.download_button` gives people a file to save, built from text or bytes in your script.

Where the book teaches it

Related terms

CSV (comma-separated values)DataFrame