From a3fea22988f958c74feef7a9a705b7657eb5d287 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 2 Oct 2024 14:31:10 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- matcha/hifigan/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matcha/hifigan/models.py b/matcha/hifigan/models.py index 94b0ce9..57305ef 100644 --- a/matcha/hifigan/models.py +++ b/matcha/hifigan/models.py @@ -1,8 +1,8 @@ """ from https://github.com/jik876/hifi-gan """ import torch -import torch.nn.functional as F import torch.nn as nn # pylint: disable=consider-using-from-import +import torch.nn.functional as F from torch.nn import AvgPool1d, Conv1d, Conv2d, ConvTranspose1d from torch.nn.utils import remove_weight_norm, spectral_norm, weight_norm