Some checks are pending
CI / ruff (push) Waiting to run
CI / mypy (push) Waiting to run
CI / pytest (push) Waiting to run
CI / package (push) Waiting to run
CI / Install smoke (${{ matrix.label }}) (linux, ubuntu-latest) (push) Blocked by required conditions
CI / Install smoke (${{ matrix.label }}) (macos-arm64, macos-14) (push) Blocked by required conditions
18 lines
558 B
Python
18 lines
558 B
Python
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']."},
|
|
)
|