wanderful-voice / TTS /encoder /configs /emotion_encoder_config.py
Shadhil's picture
voice-clone with single audio sample input
9b2107c
raw
history blame
348 Bytes
from dataclasses import asdict, dataclass
from TTS.encoder.configs.base_encoder_config import BaseEncoderConfig
@dataclass
class EmotionEncoderConfig(BaseEncoderConfig):
"""Defines parameters for Emotion Encoder model."""
model: str = "emotion_encoder"
map_classid_to_classname: dict = None
class_name_key: str = "emotion_name"