Convert .py file with Streamlit imported to .exe file

Hi! I want to convert my python script to exe file. The only library imported in my script is streamlit, it is very simple script. I tried using pyinstaller and auto-py-to-exe but after opening the exe file nothing happened, python window appeared for a second and that’s it. I imagined this file to be able to open a browser tab like it usually happens when I run my script.