naman1102 commited on
Commit
aee35a5
·
1 Parent(s): 82d6e3b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -243,7 +243,7 @@ def create_ui() -> gr.Blocks:
243
  # Convert all messages *before* the last user message into tuples for the API
244
  tuple_history_for_api = convert_messages_to_tuples(history[:-1])
245
 
246
- response = chat_with_user(user_message, tuple_history_for_api, CHATBOT_SYSTEM_PROMPT)
247
  history.append({"role": "assistant", "content": response})
248
  return history
249
 
 
243
  # Convert all messages *before* the last user message into tuples for the API
244
  tuple_history_for_api = convert_messages_to_tuples(history[:-1])
245
 
246
+ response = chat_with_user(user_message, tuple_history_for_api)
247
  history.append({"role": "assistant", "content": response})
248
  return history
249