Spaces:
Sleeping
Sleeping
Update modules/chatbot/chat_process.py
Browse files
modules/chatbot/chat_process.py
CHANGED
|
@@ -93,10 +93,10 @@ class ChatProcessor:
|
|
| 93 |
"""
|
| 94 |
Retorna el historial de la conversaci贸n
|
| 95 |
"""
|
| 96 |
-
|
| 97 |
-
|
| 98 |
def clear_history(self):
|
| 99 |
"""
|
| 100 |
Limpia el historial de la conversaci贸n
|
| 101 |
"""
|
| 102 |
-
|
|
|
|
| 93 |
"""
|
| 94 |
Retorna el historial de la conversaci贸n
|
| 95 |
"""
|
| 96 |
+
return self.conversation_history
|
| 97 |
+
|
| 98 |
def clear_history(self):
|
| 99 |
"""
|
| 100 |
Limpia el historial de la conversaci贸n
|
| 101 |
"""
|
| 102 |
+
self.conversation_history = []
|