From d33e775c2f9c57a69e38084205ca265b58d3e6bd Mon Sep 17 00:00:00 2001
From: zhifu gao <zhifu.gzf@alibaba-inc.com>
Date: 星期二, 18 四月 2023 12:35:51 +0800
Subject: [PATCH] Merge pull request #371 from alibaba-damo-academy/dev-sx-modelzoo

---
 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