Update modules/studentact/current_situation_interface.py
Browse files
modules/studentact/current_situation_interface.py
CHANGED
@@ -111,7 +111,7 @@ def display_current_situation_interface(lang_code, nlp_models, t):
|
|
111 |
text_input = st.text_area(
|
112 |
current_situation_t.get('input_prompt', "Escribe o pega tu texto aquí:"),
|
113 |
height=400,
|
114 |
-
key="
|
115 |
value=st.session_state.text_input,
|
116 |
help=current_situation_t.get('help', "Este texto será analizado para darte recomendaciones personalizadas")
|
117 |
)
|
|
|
111 |
text_input = st.text_area(
|
112 |
current_situation_t.get('input_prompt', "Escribe o pega tu texto aquí:"),
|
113 |
height=400,
|
114 |
+
key=f"text_area_{lang_code}", # Clave única por idioma
|
115 |
value=st.session_state.text_input,
|
116 |
help=current_situation_t.get('help', "Este texto será analizado para darte recomendaciones personalizadas")
|
117 |
)
|