Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -2
src/streamlit_app.py
CHANGED
|
@@ -388,7 +388,7 @@ if st.session_state.stage not in ['start', 'processing_resume']:
|
|
| 388 |
st.subheader("Interview Transcript")
|
| 389 |
chat_container = st.container(height=400) # Added height for scrolling
|
| 390 |
with chat_container:
|
| 391 |
-
for entry in st.session_state.chat_history:
|
| 392 |
st.markdown(entry)
|
| 393 |
|
| 394 |
try:
|
|
@@ -424,7 +424,7 @@ if st.session_state.stage not in ['start', 'processing_resume']:
|
|
| 424 |
st.session_state.current_question = followup
|
| 425 |
text_to_speech_and_display(followup) # This now just displays text
|
| 426 |
st.session_state.stage = 'awaiting_intro_followup'
|
| 427 |
-
st.rerun()
|
| 428 |
|
| 429 |
# --- STAGE 2: Process Followup to Intro ---
|
| 430 |
elif st.session_state.stage == 'awaiting_intro_followup':
|
|
|
|
| 388 |
st.subheader("Interview Transcript")
|
| 389 |
chat_container = st.container(height=400) # Added height for scrolling
|
| 390 |
with chat_container:
|
| 391 |
+
for entry in reversed(st.session_state.chat_history):
|
| 392 |
st.markdown(entry)
|
| 393 |
|
| 394 |
try:
|
|
|
|
| 424 |
st.session_state.current_question = followup
|
| 425 |
text_to_speech_and_display(followup) # This now just displays text
|
| 426 |
st.session_state.stage = 'awaiting_intro_followup'
|
| 427 |
+
# st.rerun()
|
| 428 |
|
| 429 |
# --- STAGE 2: Process Followup to Intro ---
|
| 430 |
elif st.session_state.stage == 'awaiting_intro_followup':
|