vmasmitja commited on
Commit 路
4a64d4e
1
Parent(s): bb25137
Fix app initialization issue
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ def transcribe(audio):
|
|
| 12 |
# Crear interfaz Gradio
|
| 13 |
demo = gr.Interface(
|
| 14 |
fn=transcribe,
|
| 15 |
-
inputs=gr.Audio(
|
| 16 |
outputs="text",
|
| 17 |
title="Transcripci贸n de Audio en Vivo",
|
| 18 |
description="Sube un archivo de audio para transcribir su contenido autom谩ticamente."
|
|
|
|
| 12 |
# Crear interfaz Gradio
|
| 13 |
demo = gr.Interface(
|
| 14 |
fn=transcribe,
|
| 15 |
+
inputs=gr.Audio(type="filepath"), # Aqu铆 se ajust贸
|
| 16 |
outputs="text",
|
| 17 |
title="Transcripci贸n de Audio en Vivo",
|
| 18 |
description="Sube un archivo de audio para transcribir su contenido autom谩ticamente."
|