convosim-ui-dev / main.py
ivnban27-ctl's picture
training-adherence-features (#1)
f3e0ba5 verified
raw
history blame
432 Bytes
import streamlit as st
from streamlit.logger import get_logger
from utils.app_utils import are_models_alive
logger = get_logger(__name__)
st.set_page_config(page_title="Conversation Simulator")
with st.status("Loading Models Please Wait...(this may take up to 5 min)", expanded=True) as status:
if not are_models_alive():
st.switch_page("pages/model_loader.py")
else:
st.switch_page("pages/convosim.py")