wucong.lyb
2023-02-10 9e8a52153d1256061ae3f6930a847f6fcad36656
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: