mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-16 05:36:34 +08:00
.
This commit is contained in:
parent
a6f942bd96
commit
7ea0b011bc
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user