jonatasgrosman commited on
Commit
5110450
1 Parent(s): ee4282d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +14 -1
README.md CHANGED
@@ -42,7 +42,20 @@ The script used for training can be found here: https://github.com/jonatasgrosma
42
 
43
  ## Usage
44
 
45
- The model can be used directly (without a language model) as follows:
 
 
 
 
 
 
 
 
 
 
 
 
 
46
 
47
  ```python
48
  import torch
 
42
 
43
  ## Usage
44
 
45
+ The model can be used directly (without a language model) as follows...
46
+
47
+ Using the [asrecognition](https://github.com/jonatasgrosman/asrecognition) library:
48
+
49
+ ```python
50
+ from asrecognition import ASREngine
51
+
52
+ asr = ASREngine("ru")
53
+
54
+ audio_paths = ["/path/to/file.mp3", "/path/to/another_file.wav"]
55
+ transcriptions = asr.transcribe(audio_paths)
56
+ ```
57
+
58
+ Writing your own inference script:
59
 
60
  ```python
61
  import torch