rishabhpr commited on
Commit
af2de81
·
verified ·
1 Parent(s): 65d1540

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -133,7 +133,7 @@ if st.session_state.follow_up_mode:
133
  # Generate assistant's response based on follow-up input using technical_interviewer_prompt and generated question,
134
  # but do not include them in the displayed conversation history.
135
  messages_to_send = [
136
- {"role": "system", "content": technical_interviewer_prompt},
137
  {"role": "assistant", "content": st.session_state.generated_question}
138
  ] + st.session_state.messages
139
 
 
133
  # Generate assistant's response based on follow-up input using technical_interviewer_prompt and generated question,
134
  # but do not include them in the displayed conversation history.
135
  messages_to_send = [
136
+ {"role": "user", "content": technical_interviewer_prompt},
137
  {"role": "assistant", "content": st.session_state.generated_question}
138
  ] + st.session_state.messages
139