Lizerui9926
2023-02-09 d1a3a7ad90ce9deb7fb4940970bca0abb9409181
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: