Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def transcribe(audio_path):
|
|
38 |
# Gradio Interface
|
39 |
app = gr.Interface(
|
40 |
fn=transcribe,
|
41 |
-
inputs=gr.Audio(
|
42 |
outputs="text",
|
43 |
title="Punjabi Speech-to-Text",
|
44 |
description="Upload an audio file and get the transcription in Punjabi."
|
|
|
38 |
# Gradio Interface
|
39 |
app = gr.Interface(
|
40 |
fn=transcribe,
|
41 |
+
inputs=gr.Audio(sources="upload", type="filepath"),
|
42 |
outputs="text",
|
43 |
title="Punjabi Speech-to-Text",
|
44 |
description="Upload an audio file and get the transcription in Punjabi."
|