AIdeaText commited on
Commit
e5d7173
·
verified ·
1 Parent(s): 1396937

Update modules/ui/ui.py

Browse files
Files changed (1) hide show
  1. modules/ui/ui.py +6 -1
modules/ui/ui.py CHANGED
@@ -270,7 +270,12 @@ def user_page(lang_code, t):
270
  ])
271
 
272
  with tabs[0]:
273
- display_morphosyntax_interface(st.session_state.lang_code, st.session_state.nlp_models, t)
 
 
 
 
 
274
 
275
  with tabs[1]:
276
  if 'user_data' in st.session_state and st.session_state.user_data:
 
270
  ])
271
 
272
  with tabs[0]:
273
+ # Modificar esta línea
274
+ display_morphosyntax_interface(
275
+ st.session_state.lang_code,
276
+ st.session_state.nlp_models,
277
+ t.get('TRANSLATIONS', {}) # Asegurarse de que pasamos el diccionario completo
278
+ )
279
 
280
  with tabs[1]:
281
  if 'user_data' in st.session_state and st.session_state.user_data: