From 6df05f2e24f4b357aee8614f238638b97b74e540 Mon Sep 17 00:00:00 2001
From: lingyunfly <121302812+lingyunfly@users.noreply.github.com>
Date: 星期四, 13 四月 2023 14:23:03 +0800
Subject: [PATCH] vad bug fix

---
 funasr/bin/sv_inference_launch.py |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/funasr/bin/sv_inference_launch.py b/funasr/bin/sv_inference_launch.py
index c511dc7..64a3cff 100755
--- a/funasr/bin/sv_inference_launch.py
+++ b/funasr/bin/sv_inference_launch.py
@@ -1,6 +1,9 @@
 #!/usr/bin/env python3
-# Copyright ESPnet (https://github.com/espnet/espnet). All Rights Reserved.
-#  Apache 2.0  (http://www.apache.org/licenses/LICENSE-2.0)
+# Copyright FunASR (https://github.com/alibaba-damo-academy/FunASR). All Rights Reserved.
+#  MIT License  (https://opensource.org/licenses/MIT)
+
+import torch
+torch.set_num_threads(1)
 
 import argparse
 import logging

--
Gitblit v1.9.1