Spaces:
Sleeping
Sleeping
Update pages/training_adherence.py
Browse files
pages/training_adherence.py
CHANGED
@@ -9,7 +9,7 @@ from models.ta_models.config import QUESTION2PHASE, NAME2QUESTION, TA_OPTIONS
|
|
9 |
|
10 |
st.set_page_config(page_title="Conversation Simulator - Scoring")
|
11 |
|
12 |
-
if time.time() - st.session_state['
|
13 |
if not are_models_alive():
|
14 |
st.switch_page("pages/model_loader.py")
|
15 |
|
|
|
9 |
|
10 |
st.set_page_config(page_title="Conversation Simulator - Scoring")
|
11 |
|
12 |
+
if time.time() - st.session_state['first_message_ts'] > 1800: # > 30 min
|
13 |
if not are_models_alive():
|
14 |
st.switch_page("pages/model_loader.py")
|
15 |
|