s2s / arguments_classes /melo_tts_arguments.py
andito's picture
andito HF staff
Upload folder using huggingface_hub
c72e80d verified
raw
history blame contribute delete
624 Bytes
from dataclasses import dataclass, field
@dataclass
class MeloTTSHandlerArguments:
melo_language: str = field(
default="en",
metadata={
"help": "The language of the text to be synthesized. Default is 'EN_NEWEST'."
},
)
melo_device: str = field(
default="auto",
metadata={
"help": "The device to be used for speech synthesis. Default is 'auto'."
},
)
melo_speaker_to_id: str = field(
default="en",
metadata={
"help": "Mapping of speaker names to speaker IDs. Default is ['EN-Newest']."
},
)