Commit
·
ed0933b
1
Parent(s):
60166ff
Update README.md
Browse files
README.md
CHANGED
|
@@ -14,9 +14,11 @@ WER: 0.51
|
|
| 14 |
Code for running:
|
| 15 |
```
|
| 16 |
from huggingsound import SpeechRecognitionModel
|
|
|
|
| 17 |
model = SpeechRecognitionModel("AstralZander/igbo_ASR")
|
| 18 |
audio_paths = [audio_path] # List with paths to audio
|
| 19 |
transcriptions = model.transcribe(audio_paths)
|
|
|
|
| 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 |
```
|
|
|
|
| 14 |
Code for running:
|
| 15 |
```
|
| 16 |
from huggingsound import SpeechRecognitionModel
|
| 17 |
+
|
| 18 |
model = SpeechRecognitionModel("AstralZander/igbo_ASR")
|
| 19 |
audio_paths = [audio_path] # List with paths to audio
|
| 20 |
transcriptions = model.transcribe(audio_paths)
|
| 21 |
+
|
| 22 |
transcriptions # List of transcriptions, timestamps and probabilities
|
| 23 |
transcriptions[ind_audio]['transcription'] # Transcription of audio with the ind_audio index from the audio_paths list
|
| 24 |
```
|