first
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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."},
|
||||
)
|
||||
Reference in New Issue
Block a user