How to make streamlit run on codespaces?

poetry run streamlit hello runs on local computer, but on Github Codespaces the page hangs at “Please wait…”. The port is forwarded to external URL.

Any clues why page is not rendering?

https://github.com/epogrebnyak/finec/issues/4

Very early discussion on the same topic: Development on Github Codespace