Spaces:
Build error
Build error
Commit
路
ec79151
1
Parent(s):
4fc021d
Update app.py
Browse files
app.py
CHANGED
|
@@ -60,7 +60,10 @@ Limitaciones: El modelo de an谩lisis de contenido de im谩genes puede tener dific
|
|
| 60 |
iface = gr.Interface(
|
| 61 |
fn=generate_response, # Cambia la funci贸n para que sea generate_response
|
| 62 |
inputs=gr.Image(type="pil", label="Sube una imagen"), # Entrada de imagen
|
| 63 |
-
outputs="text"
|
|
|
|
|
|
|
|
|
|
| 64 |
)
|
| 65 |
|
| 66 |
# Ejecuta la interfaz Gradio
|
|
|
|
| 60 |
iface = gr.Interface(
|
| 61 |
fn=generate_response, # Cambia la funci贸n para que sea generate_response
|
| 62 |
inputs=gr.Image(type="pil", label="Sube una imagen"), # Entrada de imagen
|
| 63 |
+
outputs="text", # Salida de texto
|
| 64 |
+
title=title,
|
| 65 |
+
description=description,
|
| 66 |
+
article = articulo,
|
| 67 |
)
|
| 68 |
|
| 69 |
# Ejecuta la interfaz Gradio
|