import os

py_file = '2-6_streamlit.py'

def run_streamlit_app():
    # 建立 Streamlit 應用的命令
    command = 'streamlit run ' + py_file
    # 執行 streamlit run 命令
    os.system(command)

if __name__ == '__main__':
    run_streamlit_app()
