From 47ca38e9640a504cc416ca6399d8d36c5b26f0b0 Mon Sep 17 00:00:00 2001 From: XXXXRT666 Date: Wed, 7 Aug 2024 17:38:51 +0800 Subject: [PATCH] bug --- GPT_SoVITS/download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPT_SoVITS/download.py b/GPT_SoVITS/download.py index b6393e2c..e7c8c97b 100644 --- a/GPT_SoVITS/download.py +++ b/GPT_SoVITS/download.py @@ -1,5 +1,5 @@ import os, sys now_dir = os.getcwd() sys.path.insert(0, now_dir) -from .text.g2pw import G2PWPinyin +from text.g2pw import G2PWPinyin g2pw = G2PWPinyin(model_dir="GPT_SoVITS/text/G2PWModel",model_source="GPT_SoVITS/pretrained_models/chinese-roberta-wwm-ext-large",v_to_u=False, neutral_tone_with_five=True) \ No newline at end of file