artificialguybr commited on
Commit
2cbb3ce
·
verified ·
1 Parent(s): cdf0c60

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -81,7 +81,7 @@ def chatbot_submit(message, chat_history, system_message, max_tokens_val, temper
81
  """Submits the user message to the chatbot and updates the chat history."""
82
  if chat_history is None:
83
  chat_history = []
84
- chat_history = update_chatbot(message, chat_history)
85
  return chat_history
86
 
87
  with gr.Blocks() as demo:
 
81
  """Submits the user message to the chatbot and updates the chat history."""
82
  if chat_history is None:
83
  chat_history = []
84
+ chat_history = update_chatbot(message, chat_history, system_message, max_tokens_val, temperature_val, top_p_val)
85
  return chat_history
86
 
87
  with gr.Blocks() as demo: