JairoCesar commited on
Commit
76bae3b
verified
1 Parent(s): 3aae12e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -333,15 +333,16 @@ if st.session_state.search_results is not None:
333
  """)
334
 
335
  # =========================================================================
336
- # ========= INICIO DE LA NUEVA SECCI脫N: DEFINICI脫N DE CASO ==================
337
  # =========================================================================
338
  st.markdown("---")
339
  definicion_de_caso = info.get("Definici贸n de caso", "").strip()
340
 
341
  if definicion_de_caso: # Solo se muestra si existe la definici贸n en el JSON
342
- with st.expander("馃摉 Ver Definici贸n de Caso Oficial"):
343
- # Se reemplaza \n por dos espacios + \n para forzar el salto de l铆nea en Markdown
344
- st.markdown(definicion_de_caso.replace('\n', ' \n'))
 
345
  # =========================================================================
346
- # ========= FIN DE LA NUEVA SECCI脫N =======================================
347
  # =========================================================================
 
333
  """)
334
 
335
  # =========================================================================
336
+ # ========= INICIO DE LA SECCI脫N CORREGIDA: DEFINICI脫N DE CASO ============
337
  # =========================================================================
338
  st.markdown("---")
339
  definicion_de_caso = info.get("Definici贸n de caso", "").strip()
340
 
341
  if definicion_de_caso: # Solo se muestra si existe la definici贸n en el JSON
342
+ # Se reemplaza el st.expander anidado por un subheader y markdown.
343
+ st.subheader("馃摉 Definici贸n de Caso Oficial")
344
+ # Se reemplaza \n por dos espacios + \n para forzar el salto de l铆nea en Markdown
345
+ st.markdown(definicion_de_caso.replace('\n', ' \n'))
346
  # =========================================================================
347
+ # ========= FIN DE LA SECCI脫N CORREGIDA ===================================
348
  # =========================================================================