Spaces:
Runtime error
Runtime error
shReYas0363
commited on
Commit
•
ba656d8
1
Parent(s):
abf721b
ffmpeg added
Browse files- app.py +1 -1
- packages.txt +1 -0
app.py
CHANGED
@@ -18,7 +18,7 @@ def transcribe(audio_file_path):
|
|
18 |
|
19 |
interface = gr.Interface(
|
20 |
fn=transcribe,
|
21 |
-
inputs=gr.Audio(sources=["upload"
|
22 |
outputs=gr.Textbox(label="Transcription"),
|
23 |
title="Whisper Tiny ASR",
|
24 |
description="Fine-tuned on AI4Bharat's svarah dataset"
|
|
|
18 |
|
19 |
interface = gr.Interface(
|
20 |
fn=transcribe,
|
21 |
+
inputs=gr.Audio(sources=["upload"], type="filepath"),
|
22 |
outputs=gr.Textbox(label="Transcription"),
|
23 |
title="Whisper Tiny ASR",
|
24 |
description="Fine-tuned on AI4Bharat's svarah dataset"
|
packages.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
ffmpeg
|