Spaces:
Sleeping
Sleeping
Update modules/__init__.py
Browse files- modules/__init__.py +10 -6
modules/__init__.py
CHANGED
|
@@ -171,19 +171,23 @@ def load_utils_functions():
|
|
| 171 |
}
|
| 172 |
|
| 173 |
def load_chatbot_functions():
|
| 174 |
-
|
| 175 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 176 |
display_sidebar_chat
|
| 177 |
)
|
| 178 |
|
| 179 |
-
from .chatbot.
|
| 180 |
-
|
| 181 |
)
|
| 182 |
|
| 183 |
return {
|
| 184 |
'display_sidebar_chat': display_sidebar_chat,
|
| 185 |
-
'
|
| 186 |
-
|
| 187 |
|
| 188 |
# Funci贸n para cargar todas las funciones
|
| 189 |
def load_all_functions():
|
|
|
|
| 171 |
}
|
| 172 |
|
| 173 |
def load_chatbot_functions():
|
| 174 |
+
"""
|
| 175 |
+
Carga las funciones del m贸dulo de chatbot
|
| 176 |
+
Returns:
|
| 177 |
+
dict: Diccionario con las funciones del chatbot
|
| 178 |
+
"""
|
| 179 |
+
from modules.chatbot.sidebar_chat import (
|
| 180 |
display_sidebar_chat
|
| 181 |
)
|
| 182 |
|
| 183 |
+
from modules.chatbot.chat_process import (
|
| 184 |
+
ChatProcessor
|
| 185 |
)
|
| 186 |
|
| 187 |
return {
|
| 188 |
'display_sidebar_chat': display_sidebar_chat,
|
| 189 |
+
'ChatProcessor': ChatProcessor
|
| 190 |
+
}
|
| 191 |
|
| 192 |
# Funci贸n para cargar todas las funciones
|
| 193 |
def load_all_functions():
|