Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ def transcribe(audio):
|
|
37 |
# Gradio UI
|
38 |
iface = gr.Interface(
|
39 |
fn=transcribe,
|
40 |
-
inputs=gr.Audio(
|
41 |
outputs="text",
|
42 |
title="Punjabi Speech Recognition",
|
43 |
description="Upload an audio file and get a Punjabi transcription using a quantized model.",
|
|
|
37 |
# Gradio UI
|
38 |
iface = gr.Interface(
|
39 |
fn=transcribe,
|
40 |
+
inputs=gr.Audio(sources="upload", type="filepath"),
|
41 |
outputs="text",
|
42 |
title="Punjabi Speech Recognition",
|
43 |
description="Upload an audio file and get a Punjabi transcription using a quantized model.",
|