Hilley commited on
Commit
48f828e
1 Parent(s): 3131790

Update OpenVoice/models.py

Browse files
Files changed (1) hide show
  1. 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
- from . import modules
8
- from . 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):
 
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):