ruff fix
This commit is contained in:
parent
24ccca9c44
commit
5201200848
|
@ -8,6 +8,8 @@
|
||||||
[![Open In Colab](https://img.shields.io/badge/Colab-F9AB00?style=for-the-badge&logo=googlecolab&color=525252)](https://colab.research.google.com/github/svc-develop-team/so-vits-svc/blob/4.1-Stable/sovits4_for_colab.ipynb)
|
[![Open In Colab](https://img.shields.io/badge/Colab-F9AB00?style=for-the-badge&logo=googlecolab&color=525252)](https://colab.research.google.com/github/svc-develop-team/so-vits-svc/blob/4.1-Stable/sovits4_for_colab.ipynb)
|
||||||
[![Licence](https://img.shields.io/badge/LICENSE-AGPL3.0-green.svg?style=for-the-badge)](https://github.com/svc-develop-team/so-vits-svc/blob/4.1-Stable/LICENSE)
|
[![Licence](https://img.shields.io/badge/LICENSE-AGPL3.0-green.svg?style=for-the-badge)](https://github.com/svc-develop-team/so-vits-svc/blob/4.1-Stable/LICENSE)
|
||||||
|
|
||||||
|
This round of limited time update is coming to an end, the warehouse will enter the Archieve state, please know
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
> ✨ A studio that contains visible f0 editor, speaker mix timeline editor and other features (Where the Onnx models are used) : [MoeVoiceStudio](https://github.com/NaruseMioShirakana/MoeVoiceStudio)
|
> ✨ A studio that contains visible f0 editor, speaker mix timeline editor and other features (Where the Onnx models are used) : [MoeVoiceStudio](https://github.com/NaruseMioShirakana/MoeVoiceStudio)
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
[![在Google Cloab中打开](https://img.shields.io/badge/Colab-F9AB00?style=for-the-badge&logo=googlecolab&color=525252)](https://colab.research.google.com/github/svc-develop-team/so-vits-svc/blob/4.1-Stable/sovits4_for_colab.ipynb)
|
[![在Google Cloab中打开](https://img.shields.io/badge/Colab-F9AB00?style=for-the-badge&logo=googlecolab&color=525252)](https://colab.research.google.com/github/svc-develop-team/so-vits-svc/blob/4.1-Stable/sovits4_for_colab.ipynb)
|
||||||
[![LICENSE](https://img.shields.io/badge/LICENSE-AGPL3.0-green.svg?style=for-the-badge)](https://github.com/svc-develop-team/so-vits-svc/blob/4.1-Stable/LICENSE)
|
[![LICENSE](https://img.shields.io/badge/LICENSE-AGPL3.0-green.svg?style=for-the-badge)](https://github.com/svc-develop-team/so-vits-svc/blob/4.1-Stable/LICENSE)
|
||||||
|
|
||||||
|
本轮限时更新即将结束,仓库将进入Archieve状态,望周知
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
|
import argparse
|
||||||
import json
|
import json
|
||||||
|
|
||||||
import torch
|
import torch
|
||||||
|
|
||||||
import utils
|
import utils
|
||||||
from onnxexport.model_onnx_speaker_mix import SynthesizerTrn
|
from onnxexport.model_onnx_speaker_mix import SynthesizerTrn
|
||||||
import argparse
|
|
||||||
parser = argparse.ArgumentParser(description='SoVitsSvc OnnxExport')
|
parser = argparse.ArgumentParser(description='SoVitsSvc OnnxExport')
|
||||||
|
|
||||||
def OnnxExport(path=None):
|
def OnnxExport(path=None):
|
||||||
|
|
|
@ -1,14 +1,11 @@
|
||||||
import torch
|
import torch
|
||||||
from torch import nn
|
from torch import nn
|
||||||
from torch.nn import Conv1d, Conv2d
|
|
||||||
from torch.nn import functional as F
|
from torch.nn import functional as F
|
||||||
from torch.nn.utils import spectral_norm, weight_norm
|
|
||||||
|
|
||||||
import modules.attentions as attentions
|
import modules.attentions as attentions
|
||||||
import modules.commons as commons
|
import modules.commons as commons
|
||||||
import modules.modules as modules
|
import modules.modules as modules
|
||||||
import utils
|
import utils
|
||||||
from modules.commons import get_padding
|
|
||||||
from utils import f0_to_coarse
|
from utils import f0_to_coarse
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue