Files
vocero-client/speech_to_speech/arguments_classes/paraformer_stt_arguments.py
T
2026-08-26 17:42:00 -04:00

16 lines
524 B
Python

from dataclasses import dataclass, field
@dataclass
class ParaformerSTTHandlerArguments:
paraformer_stt_model_name: str = field(
default="paraformer-zh",
metadata={
"help": "The pretrained model to use. Default is 'paraformer-zh'. Can be choose from https://github.com/modelscope/FunASR"
},
)
paraformer_stt_device: str = field(
default="cuda",
metadata={"help": "The device type on which the model will run. Default is 'cuda' for GPU acceleration."},
)