AIdeaText commited on
Commit
fdd5a86
verified
1 Parent(s): 1a269b6

Update modules/ui/user_page.py

Browse files
Files changed (1) hide show
  1. modules/ui/user_page.py +1 -6
modules/ui/user_page.py CHANGED
@@ -64,17 +64,12 @@ from ..semantic.semantic_interface import (
64
  display_semantic_results
65
  )
66
 
67
- from ..semantic.semantic_live_interface import display_semantic_live_interface
68
-
69
- from ..discourse.discourse_live_interface import display_discourse_live_interface
70
-
71
  from ..discourse.discourse_interface import ( # Agregar esta importaci贸n
72
  display_discourse_interface,
73
  display_discourse_results
74
  )
75
 
76
 
77
-
78
  ####################################################################################
79
  def user_page(lang_code, t):
80
  logger.info(f"Entrando en user_page para el estudiante: {st.session_state.username}")
@@ -87,7 +82,7 @@ def user_page(lang_code, t):
87
  if 'user_data' not in st.session_state:
88
  with st.spinner(t.get('loading_data', "Cargando tus datos...")):
89
  try:
90
- st.session_state.user_data = get_student_morphosyntax_data(st.session_state.username)
91
  st.session_state.last_data_fetch = datetime.now(timezone.utc).isoformat()
92
  except Exception as e:
93
  logger.error(f"Error al obtener datos del usuario: {str(e)}")
 
64
  display_semantic_results
65
  )
66
 
 
 
 
 
67
  from ..discourse.discourse_interface import ( # Agregar esta importaci贸n
68
  display_discourse_interface,
69
  display_discourse_results
70
  )
71
 
72
 
 
73
  ####################################################################################
74
  def user_page(lang_code, t):
75
  logger.info(f"Entrando en user_page para el estudiante: {st.session_state.username}")
 
82
  if 'user_data' not in st.session_state:
83
  with st.spinner(t.get('loading_data', "Cargando tus datos...")):
84
  try:
85
+ st.session_state.user_data = get_student_semantic_data(st.session_state.username)
86
  st.session_state.last_data_fetch = datetime.now(timezone.utc).isoformat()
87
  except Exception as e:
88
  logger.error(f"Error al obtener datos del usuario: {str(e)}")