AIdeaText commited on
Commit
86928d8
·
verified ·
1 Parent(s): d2b87a2

Update modules/ui/ui.py

Browse files
Files changed (1) hide show
  1. modules/ui/ui.py +1 -1
modules/ui/ui.py CHANGED
@@ -290,7 +290,7 @@ def display_student_progress(username, lang_code='es'):
290
  for entry in semantic_entries:
291
  st.subheader(f"Análisis del {entry['timestamp']}")
292
  st.write(f"Archivo analizado: {entry.get('filename', 'Nombre no disponible')}")
293
- if 'network_diagram' in entry:
294
  try:
295
  # Intentar decodificar la imagen si está en formato base64
296
  image_bytes = base64.b64decode(entry['relations_graph'])
 
290
  for entry in semantic_entries:
291
  st.subheader(f"Análisis del {entry['timestamp']}")
292
  st.write(f"Archivo analizado: {entry.get('filename', 'Nombre no disponible')}")
293
+ if 'relations_graph' in entry:
294
  try:
295
  # Intentar decodificar la imagen si está en formato base64
296
  image_bytes = base64.b64decode(entry['relations_graph'])