Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,9 +8,9 @@ def transcribe(audio):
|
|
8 |
return text
|
9 |
|
10 |
iface = gr.Interface(
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
title="Neoform: Yoruba Speech Recognition",
|
15 |
description="Realtime demo for Yoruba speech recognition using a fine-tuned Wav2Vec-Bert model.",
|
16 |
)
|
|
|
8 |
return text
|
9 |
|
10 |
iface = gr.Interface(
|
11 |
+
transcribe,
|
12 |
+
gr.Audio(sources="microphone", type="filepath"),
|
13 |
+
"text",
|
14 |
title="Neoform: Yoruba Speech Recognition",
|
15 |
description="Realtime demo for Yoruba speech recognition using a fine-tuned Wav2Vec-Bert model.",
|
16 |
)
|