Spaces:
Runtime error
Runtime error
Commit
·
37d60b5
1
Parent(s):
16d2d6b
Add minangkabau, toba examples
Browse files- README.md +1 -1
- app.py +6 -2
- minangkabau.mp3 +0 -0
- toba_batak.mp3 +0 -0
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
title: MMS
|
3 |
emoji: 🎤
|
4 |
colorFrom: green
|
5 |
colorTo: pink
|
|
|
1 |
---
|
2 |
+
title: Transcription using MMS
|
3 |
emoji: 🎤
|
4 |
colorFrom: green
|
5 |
colorTo: pink
|
app.py
CHANGED
@@ -40,8 +40,12 @@ def transcribe(audio_file_mic=None, audio_file_upload=None, language="English (e
|
|
40 |
transcription = processor.decode(ids)
|
41 |
return transcription
|
42 |
|
43 |
-
examples = [
|
44 |
-
|
|
|
|
|
|
|
|
|
45 |
|
46 |
description = '''Automatic Speech Recognition with [MMS](https://ai.facebook.com/blog/multilingual-model-speech-recognition/) (Massively Multilingual Speech) by Meta.
|
47 |
Supports [1162 languages](https://dl.fbaipublicfiles.com/mms/misc/language_coverage_mms.html). Read the paper for more details: [Scaling Speech Technology to 1,000+ Languages](https://arxiv.org/abs/2305.13516).'''
|
|
|
40 |
transcription = processor.decode(ids)
|
41 |
return transcription
|
42 |
|
43 |
+
examples = [
|
44 |
+
["balinese.mp3", None, "Bali (ban)"],
|
45 |
+
["madura.mp3", None, "Madura (mad)"],
|
46 |
+
["toba_batak.mp3", None, "Batak Toba (bbc)"],
|
47 |
+
["minangkabau.mp3", None, "Minangkabau (min)"],
|
48 |
+
]
|
49 |
|
50 |
description = '''Automatic Speech Recognition with [MMS](https://ai.facebook.com/blog/multilingual-model-speech-recognition/) (Massively Multilingual Speech) by Meta.
|
51 |
Supports [1162 languages](https://dl.fbaipublicfiles.com/mms/misc/language_coverage_mms.html). Read the paper for more details: [Scaling Speech Technology to 1,000+ Languages](https://arxiv.org/abs/2305.13516).'''
|
minangkabau.mp3
ADDED
Binary file (216 kB). View file
|
|
toba_batak.mp3
ADDED
Binary file (156 kB). View file
|
|