Spaces:
Build error
Build error
Update utils/chatbot_interface.py
Browse files
utils/chatbot_interface.py
CHANGED
@@ -19,7 +19,7 @@ class ChatbotInterface:
|
|
19 |
self.reset_button = self.config["chatbot_reset_button"]
|
20 |
self.submit_button = self.config["chatbot_submit_button"]
|
21 |
self.response_manager = ResponseManager()
|
22 |
-
self.conversation = self.response_manager.
|
23 |
logging.info("ChatbotInterface initialized with configuration.")
|
24 |
|
25 |
@staticmethod
|
|
|
19 |
self.reset_button = self.config["chatbot_reset_button"]
|
20 |
self.submit_button = self.config["chatbot_submit_button"]
|
21 |
self.response_manager = ResponseManager()
|
22 |
+
self.conversation = self.response_manager.generate_response # Shortcut to the conversation method
|
23 |
logging.info("ChatbotInterface initialized with configuration.")
|
24 |
|
25 |
@staticmethod
|