Update modules/morphosyntax/morphosyntax_interface.py
Browse files
modules/morphosyntax/morphosyntax_interface.py
CHANGED
@@ -104,18 +104,6 @@ def display_morphosyntax_interface(lang_code, nlp_models, t):
|
|
104 |
else:
|
105 |
st.warning(morpho_t.get('warning_message', 'Please enter a text to analyze'))
|
106 |
|
107 |
-
|
108 |
-
# Mostrar resultados previos si existen
|
109 |
-
elif 'morphosyntax_result' in st.session_state and st.session_state.morphosyntax_result is not None:
|
110 |
-
display_morphosyntax_results(
|
111 |
-
st.session_state.morphosyntax_result,
|
112 |
-
lang_code,
|
113 |
-
morpho_t # Pasar morpho_t en lugar de t
|
114 |
-
)
|
115 |
-
else:
|
116 |
-
st.info(morpho_t.get('morpho_initial_message', 'Enter text to begin analysis'))
|
117 |
-
|
118 |
-
|
119 |
############################################################################################################
|
120 |
def display_morphosyntax_results(result, lang_code, t):
|
121 |
"""
|
|
|
104 |
else:
|
105 |
st.warning(morpho_t.get('warning_message', 'Please enter a text to analyze'))
|
106 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
############################################################################################################
|
108 |
def display_morphosyntax_results(result, lang_code, t):
|
109 |
"""
|