Commit
•
1e05d13
1
Parent(s):
fd9c3e7
Fixed type .trancribe -> .transcribe (#12)
Browse files- Fixed type .trancribe -> .transcribe (cf2c164aca2a6ea6742ec983d34df994c87fd2ca)
Co-authored-by: Weird ass rabbit <[email protected]>
README.md
CHANGED
@@ -312,7 +312,7 @@ canary_model.change_decoding_strategy(decode_cfg)
|
|
312 |
The input to the model can be a directory containing audio files, in which case the model will perform ASR on English and produces text with punctuation and capitalization:
|
313 |
|
314 |
```python
|
315 |
-
predicted_text = canary_model.
|
316 |
audio_dir="<path to directory containing audios>",
|
317 |
batch_size=16, # batch size to run the inference with
|
318 |
)
|
|
|
312 |
The input to the model can be a directory containing audio files, in which case the model will perform ASR on English and produces text with punctuation and capitalization:
|
313 |
|
314 |
```python
|
315 |
+
predicted_text = canary_model.transcribe(
|
316 |
audio_dir="<path to directory containing audios>",
|
317 |
batch_size=16, # batch size to run the inference with
|
318 |
)
|