Spaces:
Sleeping
Sleeping
Update modules/ui/ui.py
Browse files- modules/ui/ui.py +2 -2
modules/ui/ui.py
CHANGED
|
@@ -299,8 +299,8 @@ def user_page(lang_code, t):
|
|
| 299 |
|
| 300 |
st.markdown("---")
|
| 301 |
|
| 302 |
-
#
|
| 303 |
-
chatbot_t = t.get('CHATBOT_TRANSLATIONS', {})
|
| 304 |
|
| 305 |
# Mostrar chatbot en sidebar
|
| 306 |
display_sidebar_chat(lang_code, chatbot_t)
|
|
|
|
| 299 |
|
| 300 |
st.markdown("---")
|
| 301 |
|
| 302 |
+
# Asegurarse de que tenemos las traducciones del chatbot
|
| 303 |
+
chatbot_t = t.get('CHATBOT_TRANSLATIONS', {}).get(lang_code, {})
|
| 304 |
|
| 305 |
# Mostrar chatbot en sidebar
|
| 306 |
display_sidebar_chat(lang_code, chatbot_t)
|