ChatTTS-Forge / modules /api /impl /model /enhancer_model.py
zhzluke96
update
d5d0921
raw
history blame
278 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