Merge eeee661acc3cba5166c2bebc836f93520ca4c74b into 5dfce9a3f0def7f1ee1e075df569b0b2d41df9e3

This commit is contained in:
SetoKaiba 2024-08-19 15:09:52 +08:00 committed by GitHub
commit 8989ca923d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -158,7 +158,7 @@ class TTS_Request(BaseModel):
streaming_mode: bool = False
parallel_infer: bool = True
repetition_penalty: float = 1.35
tts_infer_yaml_path: str = None
tts_infer_yaml_path: str = "GPT_SoVITS/configs/tts_infer.yaml"
"""推理时需要加载的声音模型的yaml配置文件路径GPT_SoVITS/configs/tts_infer.yaml"""
@ -375,7 +375,7 @@ async def tts_get_endpoint(
top_k: int = 5,
top_p: float = 1,
temperature: float = 1,
text_split_method: str = "cut0",
text_split_method: str = "cut5",
batch_size: int = 1,
batch_threshold: float = 0.75,
split_bucket: bool = True,