rishabhpr commited on
Commit
957eac4
·
verified ·
1 Parent(s): 5b82e04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -100,7 +100,7 @@ if generate_button:
100
  )
101
 
102
  # Generate response using GPT-4 with detailed prompt and debugging logs
103
- response = generate_response([{"role": "system", "content": question_generation_prompt}, {"role": "user", "content": detailed_prompt}])
104
 
105
  # Display assistant response in chat message container and add to session history
106
  with st.chat_message("assistant"):
 
100
  )
101
 
102
  # Generate response using GPT-4 with detailed prompt and debugging logs
103
+ response = generate_response([{"role": "assistant", "content": question_generation_prompt}, {"role": "user", "content": detailed_prompt}])
104
 
105
  # Display assistant response in chat message container and add to session history
106
  with st.chat_message("assistant"):