Fixed type .trancribe -> .transcribe
Browse files
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 |
)
|