mirror of https://github.com/coqui-ai/TTS.git
Ruff autofix PLW3301
This commit is contained in:
parent
64bb41f4fa
commit
bc2cf296a3
|
@ -362,7 +362,7 @@ class AcousticModel(torch.nn.Module):
|
|||
|
||||
pos_encoding = positional_encoding(
|
||||
self.emb_dim,
|
||||
max(token_embeddings.shape[1], max(mel_lens)),
|
||||
max(token_embeddings.shape[1], *mel_lens),
|
||||
device=token_embeddings.device,
|
||||
)
|
||||
encoder_outputs = self.encoder(
|
||||
|
|
Loading…
Reference in New Issue