CoolFace
Apppublic

lenML/ChatTTS-Forge

sourceHugging Faceagpl-3.0updated 2y agoView on Hugging Face
301likes
chattts_model.py20 linesDownload Raw Back to model
1from pydantic import BaseModel2 3 4class ChatTTSConfig(BaseModel):5    style: str = ""6    temperature: float = 0.37    top_p: float = 0.78    top_k: int = 209    prompt1: str = ""10    prompt2: str = ""11    prefix: str = ""12 13 14class InferConfig(BaseModel):15    batch_size: int = 416    spliter_threshold: int = 10017    # end_of_sentence18    eos: str = "[uv_break]"19    seed: int = 4220