This commit is contained in:
XXXXRT666 2025-10-05 06:42:11 +01:00
parent a6f942bd96
commit 7ea0b011bc

View File

@ -29,7 +29,7 @@ pinyin_to_symbol_map = {
parent_directory = os.path.dirname(current_file_path) parent_directory = os.path.dirname(current_file_path)
is_g2pw = True is_g2pw = os.getenv("USE_G2PW", "1") == "1"
if is_g2pw: if is_g2pw:
g2pw = G2PWPinyin( g2pw = G2PWPinyin(
model_dir="GPT_SoVITS/text/G2PWModel", model_dir="GPT_SoVITS/text/G2PWModel",