Turn streamlit application into a pyinstaller executable
I am building an application in streamlit that, for several reasons, cannot be hosted on a server. The most blocking reason is that it should also work without internet access. Therefore, I would like to turn my application in some sort of executable that users can run on their own laptop and the app is hosted on localhost. I have the following code: import streamlit.cli as stcli import sys def streamlit_run(): sys.argv = ["streamlit", "run", "main.py", "--global.developmentMode=false"] sys.exit(stcli.main()) if __name__ == '__main__': streamlit_run() main.py is for now a simple hello-world ap
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.