Update app.py
Browse files
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:
|