DuplicateWidgetID: There are multiple identical st.file_uploader widgets with ERROR

Hi,

I need your help, I am using 2 st.file_uploader widgets for 2 different functions. I already added different keys for the widgets but its still throwing error DuplicateWidgetID : There are multiple identical st.file_uploader widgets please help

my first widget
vid_up = st.file_uploader(“Upload a Video”, key = “12msl”)

2nd widget
up_image = st.file_uploader(“Upload a photo”, key=“count”)

the program is still working but I dont want to see the red warning

Could you please share your code or a link to a GitHub repo? The error isn’t reproducible with the little you’ve shared thus far.

Those are not the widgets streamlit is complaining about.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.