Commit
·
8d0d26a
1
Parent(s):
a56fc2a
Update README.md
Browse files
README.md
CHANGED
@@ -12,9 +12,11 @@ WER: 0.51
|
|
12 |
|
13 |
```
|
14 |
from huggingsound import SpeechRecognitionModel
|
|
|
15 |
model = SpeechRecognitionModel("AstralZander/yoruba_ASR")
|
16 |
audio_paths = [audio_path] # List with paths to audio
|
17 |
transcriptions = model.transcribe(audio_paths)
|
|
|
18 |
transcriptions # List of transcriptions, timestamps and probabilities
|
19 |
transcriptions[ind_audio]['transcription'] # Transcription of audio with the ind_audio index from the audio_paths list
|
20 |
```
|
|
|
12 |
|
13 |
```
|
14 |
from huggingsound import SpeechRecognitionModel
|
15 |
+
|
16 |
model = SpeechRecognitionModel("AstralZander/yoruba_ASR")
|
17 |
audio_paths = [audio_path] # List with paths to audio
|
18 |
transcriptions = model.transcribe(audio_paths)
|
19 |
+
|
20 |
transcriptions # List of transcriptions, timestamps and probabilities
|
21 |
transcriptions[ind_audio]['transcription'] # Transcription of audio with the ind_audio index from the audio_paths list
|
22 |
```
|