Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ def text_to_audio(text):
|
|
22 |
# Interfaz Gradio
|
23 |
iface = gr.Interface(
|
24 |
fn=image_to_text_model,
|
25 |
-
inputs=gr.Image(),
|
26 |
outputs=[gr.Textbox(), gr.Audio(fn=text_to_audio)],
|
27 |
live=True,
|
28 |
interpretation="default",
|
|
|
22 |
# Interfaz Gradio
|
23 |
iface = gr.Interface(
|
24 |
fn=image_to_text_model,
|
25 |
+
inputs=gr.Image(type='pil'),
|
26 |
outputs=[gr.Textbox(), gr.Audio(fn=text_to_audio)],
|
27 |
live=True,
|
28 |
interpretation="default",
|