Spaces:
Sleeping
Sleeping
EnriqueVega1995
commited on
Commit
•
23e8780
1
Parent(s):
f5c2598
Adde image caption
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def generate_captions(image, text=""):
|
|
25 |
iface = gr.Interface(
|
26 |
fn=generate_captions,
|
27 |
inputs=[
|
28 |
-
gr.Image(label="Cargar/Arrastrar Imagen"
|
29 |
gr.Textbox(label="Texto Condicional (opcional)", placeholder="Introduce un texto condicional (opcional)...")
|
30 |
],
|
31 |
outputs=gr.Textbox(label="Subtítulo Generado"),
|
|
|
25 |
iface = gr.Interface(
|
26 |
fn=generate_captions,
|
27 |
inputs=[
|
28 |
+
gr.Image(label="Cargar/Arrastrar Imagen"), # Quitado el argumento 'tool'
|
29 |
gr.Textbox(label="Texto Condicional (opcional)", placeholder="Introduce un texto condicional (opcional)...")
|
30 |
],
|
31 |
outputs=gr.Textbox(label="Subtítulo Generado"),
|