SandraCLV commited on
Commit
e13c1c8
·
1 Parent(s): 2b081ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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",