Spaces:
Sleeping
Sleeping
Update modules/semantic/semantic_interface.py
Browse files
modules/semantic/semantic_interface.py
CHANGED
|
@@ -31,7 +31,8 @@ from ..database.chat_mongo_db import store_chat_history, get_chat_history
|
|
| 31 |
###############################
|
| 32 |
|
| 33 |
# En semantic_interface.py
|
| 34 |
-
|
|
|
|
| 35 |
try:
|
| 36 |
# 1. Inicializar el estado de la sesi贸n
|
| 37 |
if 'semantic_state' not in st.session_state:
|
|
@@ -63,6 +64,7 @@ def display_semantic_interface(lang_code, nlp_models, semantic_t):
|
|
| 63 |
text_content,
|
| 64 |
lang_code,
|
| 65 |
nlp_models,
|
|
|
|
| 66 |
semantic_t
|
| 67 |
)
|
| 68 |
|
|
|
|
| 31 |
###############################
|
| 32 |
|
| 33 |
# En semantic_interface.py
|
| 34 |
+
|
| 35 |
+
def display_semantic_interface(lang_code, nlp_models, t, semantic_t):
|
| 36 |
try:
|
| 37 |
# 1. Inicializar el estado de la sesi贸n
|
| 38 |
if 'semantic_state' not in st.session_state:
|
|
|
|
| 64 |
text_content,
|
| 65 |
lang_code,
|
| 66 |
nlp_models,
|
| 67 |
+
t,
|
| 68 |
semantic_t
|
| 69 |
)
|
| 70 |
|