Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

align tts endpoint GET and POST default parameters for fast_inference branch #1210

Open
wants to merge 1 commit into
base: fast_inference_
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions api_v3.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""


Expand Down Expand Up @@ -373,7 +373,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,
Expand Down