mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2024-12-29 19:15:04 +08:00
chore(format): run black on dev
This commit is contained in:
parent
3cc778ba6a
commit
11b1cdded8
@ -16,6 +16,7 @@ from infer.lib.infer_pack.commons import get_padding, init_weights
|
|||||||
|
|
||||||
has_xpu = bool(hasattr(torch, "xpu") and torch.xpu.is_available())
|
has_xpu = bool(hasattr(torch, "xpu") and torch.xpu.is_available())
|
||||||
|
|
||||||
|
|
||||||
class TextEncoder256(nn.Module):
|
class TextEncoder256(nn.Module):
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
@ -1123,7 +1124,7 @@ class SynthesizerTrnMs768NSFsid_nono(nn.Module):
|
|||||||
sr=None,
|
sr=None,
|
||||||
**kwargs
|
**kwargs
|
||||||
):
|
):
|
||||||
super(SynthesizerTrnMs768NSFsid_nono,self).__init__()
|
super(SynthesizerTrnMs768NSFsid_nono, self).__init__()
|
||||||
self.spec_channels = spec_channels
|
self.spec_channels = spec_channels
|
||||||
self.inter_channels = inter_channels
|
self.inter_channels = inter_channels
|
||||||
self.hidden_channels = hidden_channels
|
self.hidden_channels = hidden_channels
|
||||||
|
Loading…
Reference in New Issue
Block a user