Fix Gradio File component type parameter
Browse files
app.py
CHANGED
|
@@ -25,8 +25,8 @@ def procesar_wav(input_wav_path: str):
|
|
| 25 |
|
| 26 |
demo = gr.Interface(
|
| 27 |
fn=procesar_wav,
|
| 28 |
-
inputs=gr.Audio(label="Sube un stem (.wav", type="filepath"),
|
| 29 |
-
outputs=gr.File(label="Fichero Midi"
|
| 30 |
title="Basic Pitch Inference",
|
| 31 |
description="Sube tu archivo de audio para generar el archivo midi correspondiente.",
|
| 32 |
)
|
|
|
|
| 25 |
|
| 26 |
demo = gr.Interface(
|
| 27 |
fn=procesar_wav,
|
| 28 |
+
inputs=gr.Audio(label="Sube un stem (.wav)", type="filepath"),
|
| 29 |
+
outputs=gr.File(label="Fichero Midi"),
|
| 30 |
title="Basic Pitch Inference",
|
| 31 |
description="Sube tu archivo de audio para generar el archivo midi correspondiente.",
|
| 32 |
)
|