Is there a way to paste text into file_uploader?

I’m creating an LLM rag search app, that enables users to upload files and query the model. As part of the upload functionality, the users would like the option to paste text (from their local machines) into the file uploader. Does anyone have a streamlit component for this?

Hey @dash2111,

What do you mean by pasting text into the file uploader? Do you mean pasting a file path?

I would recommend simply using st.text_input or st.text_area if you want users to paste text.