Spaces:
Sleeping
Sleeping
expander
Browse files
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 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
|
|
|
| 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:
|