Spaces:
Runtime error
Runtime error
Commit
·
d197959
1
Parent(s):
787b6cf
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
from transformers import pipeline
|
6 |
import gradio as gr
|
7 |
|
8 |
-
pipe = pipeline(model="
|
9 |
|
10 |
def transcribe(audio):
|
11 |
text = pipe(audio)["text"]
|
@@ -15,8 +15,8 @@ iface = gr.Interface(
|
|
15 |
fn=transcribe,
|
16 |
inputs=gr.Audio(source="microphone", type="filepath"),
|
17 |
outputs="text",
|
18 |
-
title="Whisper Small
|
19 |
-
description="Realtime demo for
|
20 |
)
|
21 |
|
22 |
iface.launch()
|
|
|
5 |
from transformers import pipeline
|
6 |
import gradio as gr
|
7 |
|
8 |
+
pipe = pipeline(model="kanyekuthi/dsn_afrispeech")
|
9 |
|
10 |
def transcribe(audio):
|
11 |
text = pipe(audio)["text"]
|
|
|
15 |
fn=transcribe,
|
16 |
inputs=gr.Audio(source="microphone", type="filepath"),
|
17 |
outputs="text",
|
18 |
+
title="Whisper Small English",
|
19 |
+
description="Realtime demo for African-accented English speech recognition using a fine-tuned Whisper small model.",
|
20 |
)
|
21 |
|
22 |
iface.launch()
|