Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -329,6 +329,9 @@ with gr.Blocks() as demo:
|
|
329 |
submit_button = gr.Button("Enviar")
|
330 |
chatbot_history = gr.State(value=[])
|
331 |
image_url = gr.State(value=None)
|
|
|
|
|
|
|
332 |
|
333 |
# Main accordion for categories
|
334 |
with gr.Accordion("Categorías de Preguntas", open=True):
|
|
|
329 |
submit_button = gr.Button("Enviar")
|
330 |
chatbot_history = gr.State(value=[])
|
331 |
image_url = gr.State(value=None)
|
332 |
+
# Agregar un botón para descargar el PDF
|
333 |
+
download_button = gr.File(label="Descargar Informe sobre Administración de Medicamentos a Recién Nacidos", value="Reporte.pdf")
|
334 |
+
|
335 |
|
336 |
# Main accordion for categories
|
337 |
with gr.Accordion("Categorías de Preguntas", open=True):
|