Streamlit keeps crashing

I have a very simple test of streamlit.

import streamlit as st

st.write("Hello, World!")

If I try to launch it from the shell using streamlit run main.py nothing ever populates in the webview.

If I then Run the app withing the IDE I see the webview populate for a second with my streamlit app then it crashes without error.

Not sure what I’m doing wrong.

We might get to it soon enough but could you link the repl or a minimal repl which reproduces the issue?

https://replit.com/@JoshGwyther/StreamlitTest

Thanks for looking BTW.

got it working here (see files .replit and .streamlit/config.toml)

what was the problem? I got it to run as well by using sombody elses repl and inserting my code, so it’s not the code, but something in the configuration. Do you know what that is?