hnluo
2023-02-10 bd8f163ee60e3ff453af9856df84b46637c646a1
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: