From 5eca7b283183bf27a690896f769e6fa31c1e5d15 Mon Sep 17 00:00:00 2001 From: Jonatas Grosman Date: Thu, 29 Jul 2021 18:04:57 +0000 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d90f6d4..96a52b5 100644 --- a/README.md +++ b/README.md @@ -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)