mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
funasr1.0
This commit is contained in:
parent
fddb28f026
commit
4719ca44c6
@ -8,5 +8,5 @@ from funasr import AutoModel
|
||||
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)
|
||||
@ -11,5 +11,5 @@ python funasr/bin/inference.py \
|
||||
+input="${local_path}/example/asr_example.wav" \
|
||||
+output_dir="./outputs/debug" \
|
||||
+device="cpu" \
|
||||
+"hotword='达魔院 魔搭'"
|
||||
+"hotword='达摩院 魔搭'"
|
||||
|
||||
|
||||
@ -8,5 +8,5 @@ from funasr import AutoModel
|
||||
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)
|
||||
@ -11,5 +11,5 @@ python funasr/bin/inference.py \
|
||||
+input="${local_path}/example/asr_example.wav" \
|
||||
+output_dir="./outputs/debug" \
|
||||
+device="cpu" \
|
||||
+"hotword='达魔院 魔搭'"
|
||||
+"hotword='达摩院 魔搭'"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user