Spaces:
Sleeping
Sleeping
Update utils/chatbot_interface2.py
Browse files
utils/chatbot_interface2.py
CHANGED
@@ -139,7 +139,7 @@ class ChatbotInterface:
|
|
139 |
)
|
140 |
|
141 |
# Define a local function to process input:
|
142 |
-
def process_input(user_message, chat_history):
|
143 |
"""
|
144 |
Call generate_response with the user's message and chat history.
|
145 |
Return a tuple with the updated chat history and an empty string to clear the input.
|
|
|
139 |
)
|
140 |
|
141 |
# Define a local function to process input:
|
142 |
+
def process_input(self, user_message, chat_history):
|
143 |
"""
|
144 |
Call generate_response with the user's message and chat history.
|
145 |
Return a tuple with the updated chat history and an empty string to clear the input.
|