I have created a form with multiple text input values and one pdf upload. But I also want to save the pdf file uploaded to one my directory folder , How can I do that?
st.title("Demo")
st.image(res, width = 800)
st.markdown("**Please fill the below form :**")
with st.form(key="Form :", clear_on_submit = True):
Name = st.text_input("Name : ")
Email = st.text_input("Email ID : ")
File = st.file_uploader(label = "Upload Pic", type=["pdf","docx"])
Submit = st.form_submit_button(label='Submit')
st.subheader("Details : ")
st.metric(label = "Name :", value = Name)
st.metric(label = "Email ID :", value = Email)
if Submit :
st.markdown("**Pic Sucessfully Uploaded.**")