File size: 546 Bytes
79f9f38
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
try:
    from .GPT_SoVITS import GPT_SoVITS
    print("GPT_SoVITS导入成功")
except Exception as e:
    print("GPT_SoVITS导入失败,原因:", e)
    print("使用GPT-SoVITS语音克隆前需要安装对应的环境,请执行 pip install -r VITS/requirements_vits.txt")
    
# try:
#     from .XTTS import XTTS
#     print("XTTS导入成功")
# except Exception as e:
#     print("XTTS导入失败,原因:", e)
#     print("使用XTTS语音克隆前需要安装对应的环境,请执行 pip install -r VITS/requirements_xtts.txt")