Skip to content

Commit

Permalink
Add noqa to TTS/bin/compute_attention_masks.py
Browse files Browse the repository at this point in the history
  • Loading branch information
akx committed Sep 26, 2023
1 parent 56087b5 commit 540cbf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TTS/bin/compute_attention_masks.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@

# if the vocabulary was passed, replace the default
if "characters" in C.keys():
symbols, phonemes = make_symbols(**C.characters)
symbols, phonemes = make_symbols(**C.characters) # noqa: F811

# load the model
num_chars = len(phonemes) if C.use_phonemes else len(symbols)
Expand Down

0 comments on commit 540cbf4

Please sign in to comment.