File size: 715 Bytes
7fa2eda
 
 
 
 
 
 
 
72e2b6e
 
 
 
 
 
 
 
 
 
 
 
 
7fa2eda
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import sys
from pathlib import Path

# ensure project root is on path so 'app' resolves correctly
root = Path(__file__).parent.parent
if str(root) not in sys.path:
    sys.path.insert(0, str(root))

import streamlit as st

st.set_page_config(
    page_title="Intent Classifier",
    page_icon=":material/psychology:",
    layout="wide",
)

predict_page = st.Page("pages/predict.py", title="Predict", icon=":material/chat:")
compare_page = st.Page("pages/compare.py", title="Compare Models", icon=":material/bar_chart:")
monitoring_page = st.Page("pages/monitoring.py", title="Monitoring", icon=":material/monitoring:")

pg = st.navigation([predict_page, compare_page, monitoring_page])
pg.run()