I’ve created a tutorial that walks students through cloning a simple streamlit app, modifying it and then deploying it to streamlit cloud.
When I first ran it as a workshop students balked when Streamlit asked for an email address. I did not anticipate this because it looks like Streamlit only gives this prompt the first time you run it, and I had done that so long ago.
I looked into suppressing this email prompt to make the course run smoother. I discovered that if I create a file .streamlit/config.toml
and set showEmailPrompt=false
it won’t prompt for an email.
But then students got an error because even though Streamlit isn’t prompting for an email, it still needs one.
I then did some research and saw that in the same file I might be able to add email=”foo@example.com”
. But since my first attempt to bypass this failed, I’m reluctant to try again (especially because I seem unable to test it myself). Also, I am concerned that skipping this might break deploying from github to Streamlit Cloud, which they do later on.
Is there a way to disable this email prompt while still allowing cloud deployment from github to work?
Thanks.