zhifu gao
2023-02-10 735f76195c6b3faf2efe2ac904f5fabd0260c2f5
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: