ai-content-maker/.venv/Lib/site-packages/TTS/tts/configs/tacotron2_config.py

22 lines
517 B
Python
Raw Normal View History

2024-05-03 04:18:51 +03:00
from dataclasses import dataclass
from TTS.tts.configs.tacotron_config import TacotronConfig
@dataclass
class Tacotron2Config(TacotronConfig):
"""Defines parameters for Tacotron2 based models.
Example:
>>> from TTS.tts.configs.tacotron2_config import Tacotron2Config
>>> config = Tacotron2Config()
Check `TacotronConfig` for argument descriptions.
"""
model: str = "tacotron2"
out_channels: int = 80
encoder_in_features: int = 512
decoder_in_features: int = 512