AIdeaText commited on
Commit
a972c69
1 Parent(s): bcf68d2

Update modules/ui.py

Browse files
Files changed (1) hide show
  1. 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 display_text_analysis_interface(nlp_models, lang_code):
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 store_analysis_result(
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,