Spaces:
Runtime error
Runtime error
# AUTOGENERATED! DO NOT EDIT! File to edit: ../../nbs/book/LabellingTracker/10_App.ipynb. | |
# %% auto 0 | |
__all__ = ['andon_page', 'floating_page', 'model_page', 'master_page'] | |
# %% ../../nbs/book/LabellingTracker/10_App.ipynb 3 | |
import streamlit as st | |
# %% ../../nbs/book/LabellingTracker/10_App.ipynb 5 | |
# def menu(): | |
# st.sidebar.page_link(st.Page("andon.py", default=True), label="Andon") | |
# st.sidebar.page_link(st.Page("floating.py", url_path=".."), label="Floating") | |
# st.sidebar.page_link(st.Page("model.py", url_path=".."), label="Model") | |
# st.sidebar.page_link(st.Page("master.py", url_path=".."), label="Master") | |
# # st.sidebar.page_link("pages/2_mapping_demo.py", label="Mapping Demo") | |
# # st.sidebar.page_link("pages/3_dataframe_demo.py", label="Dataframe Demo") | |
andon_page = st.Page("andon.py", default=True, title="Andon") | |
floating_page = st.Page("floating.py", title="Floating") | |
model_page = st.Page("model.py", title="Model") | |
master_page = st.Page("master.py", title="Master") | |
from fastcore.basics import in_notebook | |
if not in_notebook(): | |
pg = st.navigation([andon_page, floating_page, model_page, master_page]) | |
pg.run() | |