Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -324,14 +324,14 @@ with gr.Blocks() as demo:
|
|
324 |
gr.Image(value=images[i + j]["path"])
|
325 |
gr.Markdown(images[i + j]["description"])
|
326 |
|
|
|
327 |
chatbot_output = gr.Chatbot(label="ChatBot")
|
328 |
chatbot_input = gr.Textbox(label="Tu mensaje")
|
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 |
-
|
334 |
-
|
335 |
|
336 |
# Main accordion for categories
|
337 |
with gr.Accordion("Categor铆as de Preguntas", open=True):
|
|
|
324 |
gr.Image(value=images[i + j]["path"])
|
325 |
gr.Markdown(images[i + j]["description"])
|
326 |
|
327 |
+
download_button = gr.File(label="Descargar Informe sobre Administraci贸n de Medicamentos a Reci茅n Nacidos", value="Reporte.pdf")
|
328 |
chatbot_output = gr.Chatbot(label="ChatBot")
|
329 |
chatbot_input = gr.Textbox(label="Tu mensaje")
|
330 |
submit_button = gr.Button("Enviar")
|
331 |
chatbot_history = gr.State(value=[])
|
332 |
image_url = gr.State(value=None)
|
333 |
# Agregar un bot贸n para descargar el PDF
|
334 |
+
|
|
|
335 |
|
336 |
# Main accordion for categories
|
337 |
with gr.Accordion("Categor铆as de Preguntas", open=True):
|