mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
add ContextualParaformer
This commit is contained in:
parent
5231b54af8
commit
212b20d47f
@ -428,6 +428,7 @@ def inference_modelscope(
|
||||
format="%(asctime)s (%(module)s:%(lineno)d) %(levelname)s: %(message)s",
|
||||
)
|
||||
|
||||
hotword_list_or_file = param_dict['hotword']
|
||||
if ngpu >= 1 and torch.cuda.is_available():
|
||||
device = "cuda"
|
||||
else:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user