Update README.md

This commit is contained in:
Jonatas Grosman 2021-07-29 18:04:57 +00:00 committed by huggingface-web
parent a0053253bf
commit 5eca7b2831
1 changed files with 2 additions and 2 deletions

View File

@ -43,12 +43,12 @@ The script used for training can be found here: https://github.com/jonatasgrosma
The model can be used directly (without a language model) as follows...
Using the [asrecognition](https://github.com/jonatasgrosman/asrecognition) library:
Using the [ASRecognition](https://github.com/jonatasgrosman/asrecognition) library:
```python
from asrecognition import ASREngine
asr = ASREngine("en")
asr = ASREngine("en", model_path="jonatasgrosman/wav2vec2-large-xlsr-53-english")
audio_paths = ["/path/to/file.mp3", "/path/to/another_file.wav"]
transcriptions = asr.transcribe(audio_paths)