| | |
| | | model = AutoModel(model="../modelscope_models/speech_paraformer-large-contextual_asr_nat-zh-cn-16k-common-vocab8404") |
| | | |
| | | res = model(input="../modelscope_models/speech_paraformer-large-contextual_asr_nat-zh-cn-16k-common-vocab8404/example/asr_example.wav", |
| | | hotword='达魔院 魔搭') |
| | | hotword='达摩院 魔搭') |
| | | print(res) |
| | |
| | | +input="${local_path}/example/asr_example.wav" \ |
| | | +output_dir="./outputs/debug" \ |
| | | +device="cpu" \ |
| | | +"hotword='达魔院 魔搭'" |
| | | +"hotword='达摩院 魔搭'" |
| | | |
| | |
| | | model = AutoModel(model="../modelscope_models/speech_paraformer-large-contextual_asr_nat-zh-cn-16k-common-vocab8404") |
| | | |
| | | res = model(input="../modelscope_models/speech_paraformer-large-contextual_asr_nat-zh-cn-16k-common-vocab8404/example/asr_example.wav", |
| | | hotword='达魔院 魔搭') |
| | | hotword='达摩院 魔搭') |
| | | print(res) |
| | |
| | | +input="${local_path}/example/asr_example.wav" \ |
| | | +output_dir="./outputs/debug" \ |
| | | +device="cpu" \ |
| | | +"hotword='达魔院 魔搭'" |
| | | +"hotword='达摩院 魔搭'" |
| | | |