This commit is contained in:
Jarod Mica 2024-12-23 02:08:38 -08:00
parent 63a412bda5
commit 894d724b36
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ from typing import Dict, List, Tuple
from GPT_SoVITS.text.cleaner import clean_text
from GPT_SoVITS.text import cleaned_text_to_sequence
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

View File

@ -44,8 +44,8 @@ bert_path = os.environ.get("bert_path", None)
version=os.environ.get("version","v2")
import gradio as gr
from TTS_infer_pack.TTS import TTS, TTS_Config
from TTS_infer_pack.text_segmentation_method import get_method
from GPT_SoVITS.TTS_infer_pack.TTS import TTS, TTS_Config
from GPT_SoVITS.TTS_infer_pack.text_segmentation_method import get_method
from GPT_SoVITS.tools.i18n.i18n import I18nAuto, scan_language_list
language=os.environ.get("language","Auto")