dear boss
as per this link How to convert Streamlit app into .exe Executable file? | by Mehul Gupta | Data Science in Your Pocket | Medium
According to the instructions provided in this link, I have completed all necessary steps, including reviewing the code and all libraries for the executable build. However, I am encountering the following issue: when I run the executable file, it opens a blank black screen and then displays colors after a few seconds, but it does not launch the Streamlit app, streamlit_app.py, which I created following the link. Please advise me on how to convert the Streamlit app to an executable file.
‘‘‘
import streamlit
import pandas
import streamlit.web.cli as stcli
import os, sys
def resolve_path(path):
resolved_path = os.path.abspath(os.path.join(os.getcwd(), path))
return resolved_path
if _name_ == “_main_”:
sys.argv = [
“streamlit”,
“run”,
resolve_path(“streamlit_app.py”),
“–global.developmentMode=false”,
]
sys.exit(stcli.main())
‘‘‘
