top2vec / bootstrap.py
datavistics's picture
Init commit
74ce942
raw
history blame
327 Bytes
from pathlib import Path
import streamlit.web.bootstrap
from streamlit import config as _config
proj_dir = Path(__file__).parent
filename = proj_dir / "app" / "Top2Vec.py"
_config.set_option("server.headless", True)
args = []
# streamlit.cli.main_run(filename, args)
streamlit.web.bootstrap.run(str(filename), "", args, "")