C2MV commited on
Commit
a75e675
1 Parent(s): 0dbcfd3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
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):