KM_2024_Docker / run.py
datnguyentien204's picture
Upload 337 files
ce91ea1 verified
raw
history blame
411 Bytes
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("☰_Main.py"),
"--global.developmentMode=false",
]
sys.exit(stcli.main())