AIdeaText commited on
Commit
d3f648b
·
verified ·
1 Parent(s): eefaf48

Update modules/morphosyntax/morphosyntax_interface.py

Browse files
modules/morphosyntax/morphosyntax_interface.py CHANGED
@@ -178,7 +178,7 @@ def display_morphosyntax_results(result, lang_code, t):
178
  st.dataframe(pos_df)
179
 
180
  with col2:
181
- with st.expander(t['morphological_analysis'], expanded=True):
182
  morph_df = pd.DataFrame(advanced_analysis['morphological_analysis'])
183
 
184
  # Definir el mapeo de columnas
 
178
  st.dataframe(pos_df)
179
 
180
  with col2:
181
+ with st.expander(morpho_t.get('morphological_analysis', 'Morphological Analysis' ], expanded=True):
182
  morph_df = pd.DataFrame(advanced_analysis['morphological_analysis'])
183
 
184
  # Definir el mapeo de columnas