How to use streamlit in Repl.it
Streamlit is a python library for creating a quick frontend really fast : https://streamlit.io/
However to run it you need to access terminal and run this command for example :
streamlit run myapp.py
I could get around this by calling the command using
subprocess in the main.py, but the app is not accessible from the link provided by repl.it.
Did anyone succeed running streamlit on replit ? Any advice would be helpful.
You can still run shell commands in Repl. So you can use
subprocess to get the result you are looking for. You can move the code you have in
main.py to a new file, and then use the
main.py file to run the commands which will run streamlit`.