mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-08-31 03:05:40 +08:00
.
This commit is contained in:
parent
63a412bda5
commit
894d724b36
@ -13,7 +13,7 @@ from typing import Dict, List, Tuple
|
|||||||
from GPT_SoVITS.text.cleaner import clean_text
|
from GPT_SoVITS.text.cleaner import clean_text
|
||||||
from GPT_SoVITS.text import cleaned_text_to_sequence
|
from GPT_SoVITS.text import cleaned_text_to_sequence
|
||||||
from transformers import AutoModelForMaskedLM, AutoTokenizer
|
from transformers import AutoModelForMaskedLM, AutoTokenizer
|
||||||
from TTS_infer_pack.text_segmentation_method import split_big_text, splits, get_method as get_seg_method
|
from GPT_SoVITS.TTS_infer_pack.text_segmentation_method import split_big_text, splits, get_method as get_seg_method
|
||||||
|
|
||||||
from GPT_SoVITS.tools.i18n.i18n import I18nAuto, scan_language_list
|
from GPT_SoVITS.tools.i18n.i18n import I18nAuto, scan_language_list
|
||||||
|
|
||||||
|
@ -44,8 +44,8 @@ bert_path = os.environ.get("bert_path", None)
|
|||||||
version=os.environ.get("version","v2")
|
version=os.environ.get("version","v2")
|
||||||
|
|
||||||
import gradio as gr
|
import gradio as gr
|
||||||
from TTS_infer_pack.TTS import TTS, TTS_Config
|
from GPT_SoVITS.TTS_infer_pack.TTS import TTS, TTS_Config
|
||||||
from TTS_infer_pack.text_segmentation_method import get_method
|
from GPT_SoVITS.TTS_infer_pack.text_segmentation_method import get_method
|
||||||
from GPT_SoVITS.tools.i18n.i18n import I18nAuto, scan_language_list
|
from GPT_SoVITS.tools.i18n.i18n import I18nAuto, scan_language_list
|
||||||
|
|
||||||
language=os.environ.get("language","Auto")
|
language=os.environ.get("language","Auto")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user