mirror of https://github.com/coqui-ai/TTS.git
Add some noqa directives (for now)
This commit is contained in:
parent
00f8f4892a
commit
33b69c6c09
|
@ -70,7 +70,7 @@ Example run:
|
|||
|
||||
# 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)
|
||||
|
|
|
@ -43,7 +43,7 @@ class StreamGenerationConfig(GenerationConfig):
|
|||
|
||||
class NewGenerationMixin(GenerationMixin):
|
||||
@torch.no_grad()
|
||||
def generate(
|
||||
def generate( # noqa: PLR0911
|
||||
self,
|
||||
inputs: Optional[torch.Tensor] = None,
|
||||
generation_config: Optional[StreamGenerationConfig] = None,
|
||||
|
|
Loading…
Reference in New Issue