Update modules/studentact/current_situation_interface.py
Browse files
modules/studentact/current_situation_interface.py
CHANGED
@@ -106,7 +106,7 @@ def display_current_situation_interface(lang_code, nlp_models, current_situation
|
|
106 |
use_container_width=True,
|
107 |
):
|
108 |
try:
|
109 |
-
with st.spinner(current_situation_t('processing'):
|
110 |
doc = nlp_models[lang_code](text_input)
|
111 |
metrics = analyze_text_dimensions(doc)
|
112 |
|
@@ -126,7 +126,7 @@ def display_current_situation_interface(lang_code, nlp_models, current_situation
|
|
126 |
|
127 |
except Exception as e:
|
128 |
logger.error(f"Error en análisis: {str(e)}")
|
129 |
-
st.error(current_situation_t('analysis_error')
|
130 |
|
131 |
# Mostrar resultados en la columna derecha
|
132 |
with results_col:
|
|
|
106 |
use_container_width=True,
|
107 |
):
|
108 |
try:
|
109 |
+
with st.spinner(current_situation_t('processing')):
|
110 |
doc = nlp_models[lang_code](text_input)
|
111 |
metrics = analyze_text_dimensions(doc)
|
112 |
|
|
|
126 |
|
127 |
except Exception as e:
|
128 |
logger.error(f"Error en análisis: {str(e)}")
|
129 |
+
st.error(current_situation_t('analysis_error'))
|
130 |
|
131 |
# Mostrar resultados en la columna derecha
|
132 |
with results_col:
|