Update modules/ui.py
Browse files- modules/ui.py +2 -2
modules/ui.py
CHANGED
|
@@ -191,7 +191,7 @@ def display_student_progress(username, lang_code='es'):
|
|
| 191 |
st.info("Intenta realizar algunos an谩lisis de texto primero.")
|
| 192 |
|
| 193 |
##################################################################################################
|
| 194 |
-
def
|
| 195 |
translations = {
|
| 196 |
'es': {
|
| 197 |
'title': "AIdeaText - An谩lisis morfol贸gico y sint谩ctico",
|
|
@@ -271,7 +271,7 @@ def display_text_analysis_interface(nlp_models, lang_code):
|
|
| 271 |
st.write(html, unsafe_allow_html=True)
|
| 272 |
arc_diagrams.append(html)
|
| 273 |
|
| 274 |
-
if
|
| 275 |
st.session_state.username,
|
| 276 |
sentence_input,
|
| 277 |
word_colors,
|
|
|
|
| 191 |
st.info("Intenta realizar algunos an谩lisis de texto primero.")
|
| 192 |
|
| 193 |
##################################################################################################
|
| 194 |
+
def display_morphsyntax_interface(nlp_models, lang_code):
|
| 195 |
translations = {
|
| 196 |
'es': {
|
| 197 |
'title': "AIdeaText - An谩lisis morfol贸gico y sint谩ctico",
|
|
|
|
| 271 |
st.write(html, unsafe_allow_html=True)
|
| 272 |
arc_diagrams.append(html)
|
| 273 |
|
| 274 |
+
if store_morphosyntax_result(
|
| 275 |
st.session_state.username,
|
| 276 |
sentence_input,
|
| 277 |
word_colors,
|