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")