Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +10 -2
src/streamlit_app.py
CHANGED
|
@@ -378,8 +378,16 @@ if st.session_state.stage == 'start':
|
|
| 378 |
|
| 379 |
# 3. Move to next stage and display intro
|
| 380 |
st.session_state.stage = 'awaiting_intro'
|
| 381 |
-
|
| 382 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 383 |
st.rerun()
|
| 384 |
except Exception as e:
|
| 385 |
# Catch-all to prevent any LLM/network exceptions from surfacing to the client
|
|
|
|
| 378 |
|
| 379 |
# 3. Move to next stage and display intro
|
| 380 |
st.session_state.stage = 'awaiting_intro'
|
| 381 |
+
#************************
|
| 382 |
+
#************************
|
| 383 |
+
#************************
|
| 384 |
+
|
| 385 |
+
# text_to_speech_and_display(getattr(intro_output, 'intro', "Hello, I'm Interviewer.AI. Please introduce yourself."))
|
| 386 |
+
# text_to_speech_and_display(getattr(intro_output, 'question', "Can you introduce yourself?"))
|
| 387 |
+
|
| 388 |
+
#************************
|
| 389 |
+
#************************
|
| 390 |
+
#************************
|
| 391 |
st.rerun()
|
| 392 |
except Exception as e:
|
| 393 |
# Catch-all to prevent any LLM/network exceptions from surfacing to the client
|