Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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": "
|
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"):
|