Spaces:
Sleeping
Sleeping
Update utils/session_history2.py
Browse files
utils/session_history2.py
CHANGED
@@ -252,7 +252,7 @@ class ChatbotInterface:
|
|
252 |
return [], [], None, "" # [chatbot_output, conversation_state, previous_response_id_state, cleared input]
|
253 |
|
254 |
# Define a local function to process input
|
255 |
-
def process_input(user_message, chat_history, previous_response_id_state
|
256 |
"""
|
257 |
Call generate_response with the user's message and chat history.
|
258 |
Return a tuple with the updated chat history and an empty string to clear the input.
|
|
|
252 |
return [], [], None, "" # [chatbot_output, conversation_state, previous_response_id_state, cleared input]
|
253 |
|
254 |
# Define a local function to process input
|
255 |
+
def process_input(user_message, chat_history, previous_response_id_state):
|
256 |
"""
|
257 |
Call generate_response with the user's message and chat history.
|
258 |
Return a tuple with the updated chat history and an empty string to clear the input.
|