ChatTTS-Forge / modules /api /impl /model /enhancer_model.py
zhzluke96
update
d2b7e94
raw
history blame
279 Bytes
from typing import Literal
from pydantic import BaseModel
class EnhancerConfig(BaseModel):
enabled: bool = False
model: str = "resemble-enhance"
nfe: int = 32
solver: Literal["midpoint", "rk4", "euler"] = "midpoint"
lambd: float = 0.5
tau: float = 0.5