mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-08-10 10:09:51 +08:00
add all
This commit is contained in:
parent
9fbeeea8a0
commit
e037bac30f
8
api.py
8
api.py
@ -848,13 +848,7 @@ else:
|
|||||||
media_type = "ogg"
|
media_type = "ogg"
|
||||||
logger.info(f"编码格式: {media_type}")
|
logger.info(f"编码格式: {media_type}")
|
||||||
|
|
||||||
# 音频数据类型
|
is_int32 = True
|
||||||
if args.sub_type.lower() == 'int32':
|
|
||||||
is_int32 = True
|
|
||||||
logger.info(f"数据类型: int32")
|
|
||||||
else:
|
|
||||||
is_int32 = False
|
|
||||||
logger.info(f"数据类型: int16")
|
|
||||||
|
|
||||||
# 初始化模型
|
# 初始化模型
|
||||||
cnhubert.cnhubert_base_path = cnhubert_base_path
|
cnhubert.cnhubert_base_path = cnhubert_base_path
|
||||||
|
Loading…
x
Reference in New Issue
Block a user