Skip to content

Commit c231097

Browse files
erastorgueva-nvpzelasko
authored andcommitted
fix code block typo (NVIDIA#7717)
Signed-off-by: Elena Rastorgueva <[email protected]> Signed-off-by: Piotr Żelasko <[email protected]>
1 parent d454220 commit c231097

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/source/asr/intro.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ You can also obtain timestamps for each word in the transcription as follows:
3131
from omegaconf import OmegaConf, open_dict
3232
decoding_cfg = asr_model.cfg.decoding
3333
with open_dict(decoding_cfg):
34-
decoding_cfg.preserve_alignments = True
35-
decoding_cfg.compute_timestamps = True
36-
asr_model.change_decoding_strategy(decoding_cfg)
34+
decoding_cfg.preserve_alignments = True
35+
decoding_cfg.compute_timestamps = True
36+
asr_model.change_decoding_strategy(decoding_cfg)
3737
3838
# specify flag `return_hypotheses=True``
3939
hypotheses = asr_model.transcribe(["path/to/audio_file.wav"], return_hypotheses=True)

0 commit comments

Comments
 (0)