@kenanmorani Could you please post that code as text, rather than a screenshot? That will make it much easier for forum members to help you debug it. See this post for more tips on making a good forum post.
Just eyeballing it, it looks like you may have two issues:
- You may have a single space before the
if uploaded files... - st.form_submit_button shouldn’t have any values passed to it, just
st.form_submit_button()