Spaces:
Runtime error
Runtime error
Update OpenVoice/modules.py
Browse files- OpenVoice/modules.py +4 -4
OpenVoice/modules.py
CHANGED
@@ -6,10 +6,10 @@ from torch.nn import functional as F
|
|
6 |
from torch.nn import Conv1d
|
7 |
from torch.nn.utils import weight_norm, remove_weight_norm
|
8 |
|
9 |
-
import commons
|
10 |
-
from commons import init_weights, get_padding
|
11 |
-
from transforms import piecewise_rational_quadratic_transform
|
12 |
-
from attentions import Encoder
|
13 |
|
14 |
LRELU_SLOPE = 0.1
|
15 |
|
|
|
6 |
from torch.nn import Conv1d
|
7 |
from torch.nn.utils import weight_norm, remove_weight_norm
|
8 |
|
9 |
+
import .commons
|
10 |
+
from .commons import init_weights, get_padding
|
11 |
+
from .transforms import piecewise_rational_quadratic_transform
|
12 |
+
from .attentions import Encoder
|
13 |
|
14 |
LRELU_SLOPE = 0.1
|
15 |
|