File size: 331 Bytes
aa651cf
 
 
 
 
7efe007
aa651cf
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
from pathlib import Path
import streamlit.web.bootstrap
from streamlit import config as _config

proj_dir = Path(__file__).parent
filename = proj_dir / "Disc Golf Simulator.py"

_config.set_option("server.headless", True)
args = []

# streamlit.cli.main_run(filename, args)
streamlit.web.bootstrap.run(str(filename), "", args, "")