funasr/bin/asr_inference_paraformer.py @@ -632,6 +632,8 @@ else: hotword_list_or_file = None if kwargs.get("device", None) == "cpu": ngpu = 0 if ngpu >= 1 and torch.cuda.is_available(): device = "cuda" else: