Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -344,8 +344,7 @@ with gr.Blocks() as demo:
|
|
| 344 |
if group + idx < len(image_groups):
|
| 345 |
images_in_carousel = image_groups[group + idx]
|
| 346 |
with gr.Tab(f"Carrusel {group + idx + 1}"): # Permitir tags personalizados
|
| 347 |
-
|
| 348 |
-
pass
|
| 349 |
|
| 350 |
# Bot贸n de descarga de PDF
|
| 351 |
download_button = gr.File(label="Descargar Informe sobre Administraci贸n de Medicamentos a Reci茅n Nacidos", value="Reporte.pdf")
|
|
@@ -356,6 +355,7 @@ with gr.Blocks() as demo:
|
|
| 356 |
submit_button = gr.Button("Enviar")
|
| 357 |
chatbot_history = gr.State(value=[])
|
| 358 |
image_url = gr.State(value=None)
|
|
|
|
| 359 |
|
| 360 |
|
| 361 |
# Main accordion for categories
|
|
|
|
| 344 |
if group + idx < len(image_groups):
|
| 345 |
images_in_carousel = image_groups[group + idx]
|
| 346 |
with gr.Tab(f"Carrusel {group + idx + 1}"): # Permitir tags personalizados
|
| 347 |
+
gr.Gallery(value=images_in_carousel, label=f"Carrusel {group + idx + 1}")
|
|
|
|
| 348 |
|
| 349 |
# Bot贸n de descarga de PDF
|
| 350 |
download_button = gr.File(label="Descargar Informe sobre Administraci贸n de Medicamentos a Reci茅n Nacidos", value="Reporte.pdf")
|
|
|
|
| 355 |
submit_button = gr.Button("Enviar")
|
| 356 |
chatbot_history = gr.State(value=[])
|
| 357 |
image_url = gr.State(value=None)
|
| 358 |
+
|
| 359 |
|
| 360 |
|
| 361 |
# Main accordion for categories
|