mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-04-06 03:57:44 +08:00
Change the link for G2PW Model
This commit is contained in:
parent
27ee75e47b
commit
7edfe16a17
@ -50,7 +50,6 @@ bert_path = os.environ.get("bert_path", None)
|
|||||||
version = model_version = os.environ.get("version", "v2")
|
version = model_version = os.environ.get("version", "v2")
|
||||||
|
|
||||||
import gradio as gr
|
import gradio as gr
|
||||||
from inference_webui import DictToAttrRecursive
|
|
||||||
from TTS_infer_pack.text_segmentation_method import get_method
|
from TTS_infer_pack.text_segmentation_method import get_method
|
||||||
from TTS_infer_pack.TTS import NO_PROMPT_ERROR, TTS, TTS_Config
|
from TTS_infer_pack.TTS import NO_PROMPT_ERROR, TTS, TTS_Config
|
||||||
|
|
||||||
@ -256,7 +255,7 @@ def get_weights_names(GPT_weight_root, SoVITS_weight_root):
|
|||||||
SoVITS_names, GPT_names = get_weights_names(GPT_weight_root, SoVITS_weight_root)
|
SoVITS_names, GPT_names = get_weights_names(GPT_weight_root, SoVITS_weight_root)
|
||||||
|
|
||||||
|
|
||||||
from process_ckpt import get_sovits_version_from_path_fast, load_sovits_new
|
from process_ckpt import get_sovits_version_from_path_fast
|
||||||
|
|
||||||
|
|
||||||
def change_sovits_weights(sovits_path, prompt_language=None, text_language=None):
|
def change_sovits_weights(sovits_path, prompt_language=None, text_language=None):
|
||||||
|
@ -7,26 +7,20 @@ warnings.filterwarnings("ignore")
|
|||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
import zipfile
|
import zipfile
|
||||||
import requests
|
from typing import Any, Dict, List, Tuple
|
||||||
from typing import Any
|
|
||||||
from typing import Dict
|
|
||||||
from typing import List
|
|
||||||
from typing import Tuple
|
|
||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import onnxruntime
|
import onnxruntime
|
||||||
|
import requests
|
||||||
|
|
||||||
onnxruntime.set_default_logger_severity(3)
|
onnxruntime.set_default_logger_severity(3)
|
||||||
from opencc import OpenCC
|
from opencc import OpenCC
|
||||||
|
from pypinyin import Style, pinyin
|
||||||
from transformers import AutoTokenizer
|
from transformers import AutoTokenizer
|
||||||
from pypinyin import pinyin
|
|
||||||
from pypinyin import Style
|
|
||||||
|
|
||||||
from .dataset import get_char_phoneme_labels
|
|
||||||
from .dataset import get_phoneme_labels
|
|
||||||
from .dataset import prepare_onnx_input
|
|
||||||
from .utils import load_config
|
|
||||||
from ..zh_normalization.char_convert import tranditional_to_simplified
|
from ..zh_normalization.char_convert import tranditional_to_simplified
|
||||||
|
from .dataset import get_char_phoneme_labels, get_phoneme_labels, prepare_onnx_input
|
||||||
|
from .utils import load_config
|
||||||
|
|
||||||
model_version = "1.1"
|
model_version = "1.1"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user