zhifu gao
2023-02-10 50aec816756b30aa296f37fd72de2cf277473d8c
funasr/bin/asr_inference_paraformer.py
@@ -428,6 +428,7 @@
        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: