Spaces:
Running
Running
File size: 306 Bytes
9b2107c |
1 2 3 4 5 6 7 8 9 10 11 12 |
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"
|