Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ def transcribir_y_enviar(audio):
|
|
| 20 |
# Interfaz en Gradio
|
| 21 |
interfaz = gr.Interface(
|
| 22 |
fn=transcribir_y_enviar,
|
| 23 |
-
inputs=gr.Audio(
|
| 24 |
outputs="text",
|
| 25 |
title="Chatbot de Miopía Magna",
|
| 26 |
description="Sube un audio y el chatbot responderá."
|
|
|
|
| 20 |
# Interfaz en Gradio
|
| 21 |
interfaz = gr.Interface(
|
| 22 |
fn=transcribir_y_enviar,
|
| 23 |
+
inputs=gr.Audio(type="filepath"),
|
| 24 |
outputs="text",
|
| 25 |
title="Chatbot de Miopía Magna",
|
| 26 |
description="Sube un audio y el chatbot responderá."
|