Spaces:
Runtime error
Runtime error
Update OpenVoice/models.py
Browse files- OpenVoice/models.py +4 -4
OpenVoice/models.py
CHANGED
@@ -3,14 +3,14 @@ import torch
|
|
3 |
from torch import nn
|
4 |
from torch.nn import functional as F
|
5 |
|
6 |
-
import commons
|
7 |
-
|
8 |
-
|
9 |
|
10 |
from torch.nn import Conv1d, ConvTranspose1d, Conv2d
|
11 |
from torch.nn.utils import weight_norm, remove_weight_norm, spectral_norm
|
12 |
|
13 |
-
from commons import init_weights, get_padding
|
14 |
|
15 |
|
16 |
class TextEncoder(nn.Module):
|
|
|
3 |
from torch import nn
|
4 |
from torch.nn import functional as F
|
5 |
|
6 |
+
import .commons
|
7 |
+
import .modules
|
8 |
+
import .attentions
|
9 |
|
10 |
from torch.nn import Conv1d, ConvTranspose1d, Conv2d
|
11 |
from torch.nn.utils import weight_norm, remove_weight_norm, spectral_norm
|
12 |
|
13 |
+
from .commons import init_weights, get_padding
|
14 |
|
15 |
|
16 |
class TextEncoder(nn.Module):
|