kaushal98b
commited on
Commit
•
137d9a7
1
Parent(s):
d0a145d
Update README.md
Browse files
README.md
CHANGED
@@ -48,13 +48,13 @@ library_name: nemo
|
|
48 |
### Inference using CTC decoder
|
49 |
```
|
50 |
model.cur_decoder = "ctc"
|
51 |
-
ctc_text = model.transcribe(['sample_audio_infer_ready.wav'], batch_size=1,logprobs=False, language_id='
|
52 |
print(ctc_text)
|
53 |
```
|
54 |
|
55 |
### Inference using RNNT decoder
|
56 |
```
|
57 |
model.cur_decoder = "rnnt"
|
58 |
-
rnnt_text = model.transcribe(['sample_audio_infer_ready.wav'], batch_size=1, language_id='
|
59 |
print(rnnt_text)
|
60 |
```
|
|
|
48 |
### Inference using CTC decoder
|
49 |
```
|
50 |
model.cur_decoder = "ctc"
|
51 |
+
ctc_text = model.transcribe(['sample_audio_infer_ready.wav'], batch_size=1,logprobs=False, language_id='te')[0]
|
52 |
print(ctc_text)
|
53 |
```
|
54 |
|
55 |
### Inference using RNNT decoder
|
56 |
```
|
57 |
model.cur_decoder = "rnnt"
|
58 |
+
rnnt_text = model.transcribe(['sample_audio_infer_ready.wav'], batch_size=1, language_id='te')[0]
|
59 |
print(rnnt_text)
|
60 |
```
|