Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 14, 2023
1 parent cfbdb93 commit 03d8447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion egs2/TEMPLATE/asr1/pyscripts/utils/extract_xvectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __init__(self, args, device):
if self.toolkit == "speechbrain":
from speechbrain.dataio.preprocess import AudioNormalizer
from speechbrain.pretrained import EncoderClassifier

self.audio_norm = AudioNormalizer()
self.model = EncoderClassifier.from_hparams(
source=args.pretrained_model, run_opts={"device": device}
Expand Down

0 comments on commit 03d8447

Please sign in to comment.