Version 1.13.0

Hi @Fabio ,

I’ve just run into the same issue as I’m working on a fork of the streamlit’s CSV wrangler app example.
In my case, the one widget that seems to trigger it is the st.file_uploader, that presents the error as I do a streamlit run app.py:

    uploaded_file = st.file_uploader(
        "",
        key="1",
        help="To activate 'wide mode', go to the hamburger menu > Settings > turn on 'wide mode'",
    )

It seems like the absence of label in the double quote generates the error.

For now the 2 possible workarounds I found are:

Option A (cleaner I think) - as mentioned earlier by @ryanlampkin :

    uploaded_file = st.file_uploader(
        label=" ",
        label_visibility='collapsed',
        key="1",
        help="To activate 'wide mode', go to the hamburger menu > Settings > turn on 'wide mode'",    
    )

Note: “hidden” works as well instead of “collapsed” but seems to introduce extra space for me between the title of the app and the drag/drop widget…

Option B: a whitespace as the label value, no label_visibility property…:

    uploaded_file = st.file_uploader(
        label=" ",
        key="1",
        help="To activate 'wide mode', go to the hamburger menu > Settings > turn on 'wide mode'",
    )

Either way I can’t seem to be able to get away with a strictly empty string…
If anyone has a cleaner, smarter solution and root cause explanation, I’m willing to read about it :slight_smile:

Cheers