File size: 624 Bytes
c72e80d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
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']."
},
)
|