Voice-Clone / TTS /encoder /configs /speaker_encoder_config.py
Shadhil's picture
voice-clone with single audio sample input
9b2107c
raw
history blame contribute delete
306 Bytes
from dataclasses import asdict, dataclass
from TTS.encoder.configs.base_encoder_config import BaseEncoderConfig
@dataclass
class SpeakerEncoderConfig(BaseEncoderConfig):
"""Defines parameters for Speaker Encoder model."""
model: str = "speaker_encoder"
class_name_key: str = "speaker_name"