Update modules/ui/ui.py
Browse files- modules/ui/ui.py +2 -2
modules/ui/ui.py
CHANGED
@@ -826,8 +826,8 @@ def display_semantic_analysis_interface(nlp_models, lang_code):
|
|
826 |
|
827 |
# Mostrar conceptos clave
|
828 |
with st.expander(t['key_concepts'], expanded=True):
|
829 |
-
for concept, frequency in analysis_result['key_concepts']
|
830 |
-
st.write(
|
831 |
|
832 |
# Mostrar el gráfico de relaciones conceptuales
|
833 |
with st.expander(t['conceptual_relations'], expanded=True):
|
|
|
826 |
|
827 |
# Mostrar conceptos clave
|
828 |
with st.expander(t['key_concepts'], expanded=True):
|
829 |
+
concept_text = " | ".join([f"{concept} ({frequency:.2f})" for concept, frequency in analysis_result['key_concepts']])
|
830 |
+
st.write(concept_text)
|
831 |
|
832 |
# Mostrar el gráfico de relaciones conceptuales
|
833 |
with st.expander(t['conceptual_relations'], expanded=True):
|