segoedu commited on
Commit
71e511d
verified
1 Parent(s): 6882c9f
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -70,10 +70,11 @@ def create_embeddings(pdf):
70
 
71
  # Funci贸n para mostrar logs
72
  def mostrar_logs(logs,hints):
73
- st.subheader("Chunks")
74
- for hint in hints:
75
- st.write(hint.page_content)
76
- st.write("-" * 30)
 
77
 
78
  st.sidebar.header("Registro de preguntas")
79
  for entry in logs:
 
70
 
71
  # Funci贸n para mostrar logs
72
  def mostrar_logs(logs,hints):
73
+ # Crear un contenedor desplegable
74
+ with st.expander("Chunks"):
75
+ for hint in hints:
76
+ st.write(hint.page_content)
77
+ st.write("-" * 30)
78
 
79
  st.sidebar.header("Registro de preguntas")
80
  for entry in logs: