Viper51 commited on
Commit
a221817
·
verified ·
1 Parent(s): bdb8d87

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +3 -3
src/streamlit_app.py CHANGED
@@ -430,7 +430,7 @@ if st.session_state.stage not in ['start', 'processing_resume']:
430
  elif st.session_state.stage == 'awaiting_intro_followup':
431
  text_to_speech_and_display("OK, Great. Let's start the interview with questions from your resume.")
432
  st.session_state.stage = 'asking_question' # Move to main questions
433
- st.rerun()
434
 
435
  # --- STAGE 4: Process Answer to a Main Question ---
436
  elif st.session_state.stage == 'awaiting_answer':
@@ -452,7 +452,7 @@ if st.session_state.stage not in ['start', 'processing_resume']:
452
  else:
453
  st.session_state.q_index += 1
454
  st.session_state.stage = 'asking_question'
455
- st.rerun()
456
 
457
  # --- STAGE 5: Process Answer to a Followup Question ---
458
  elif st.session_state.stage == 'awaiting_followup_answer':
@@ -468,7 +468,7 @@ if st.session_state.stage not in ['start', 'processing_resume']:
468
 
469
  st.session_state.q_index += 1
470
  st.session_state.stage = 'asking_question'
471
- st.rerun()
472
 
473
  # --- STAGE 3: Ask a New Question ---
474
  # This runs when the page loads into this state, *before* user input
 
430
  elif st.session_state.stage == 'awaiting_intro_followup':
431
  text_to_speech_and_display("OK, Great. Let's start the interview with questions from your resume.")
432
  st.session_state.stage = 'asking_question' # Move to main questions
433
+ # st.rerun()
434
 
435
  # --- STAGE 4: Process Answer to a Main Question ---
436
  elif st.session_state.stage == 'awaiting_answer':
 
452
  else:
453
  st.session_state.q_index += 1
454
  st.session_state.stage = 'asking_question'
455
+ # st.rerun()
456
 
457
  # --- STAGE 5: Process Answer to a Followup Question ---
458
  elif st.session_state.stage == 'awaiting_followup_answer':
 
468
 
469
  st.session_state.q_index += 1
470
  st.session_state.stage = 'asking_question'
471
+ # st.rerun()
472
 
473
  # --- STAGE 3: Ask a New Question ---
474
  # This runs when the page loads into this state, *before* user input