Spaces:
No application file
No application file
Update libs/infer_packs/models.py
Browse files
libs/infer_packs/models.py
CHANGED
|
@@ -10,8 +10,8 @@ from torch import nn
|
|
| 10 |
from torch.nn import AvgPool1d, Conv1d, Conv2d, ConvTranspose1d
|
| 11 |
from torch.nn import functional as F
|
| 12 |
from torch.nn.utils import remove_weight_norm, spectral_norm, weight_norm
|
| 13 |
-
from libs.
|
| 14 |
-
from libs.
|
| 15 |
|
| 16 |
has_xpu = bool(hasattr(torch, "xpu") and torch.xpu.is_available())
|
| 17 |
|
|
|
|
| 10 |
from torch.nn import AvgPool1d, Conv1d, Conv2d, ConvTranspose1d
|
| 11 |
from torch.nn import functional as F
|
| 12 |
from torch.nn.utils import remove_weight_norm, spectral_norm, weight_norm
|
| 13 |
+
from libs.infer_packs import attentions, commons, modules
|
| 14 |
+
from libs.infer_packs.commons import get_padding, init_weights
|
| 15 |
|
| 16 |
has_xpu = bool(hasattr(torch, "xpu") and torch.xpu.is_available())
|
| 17 |
|