From 9d48230c4f8f25bf88c5d6105f97370a36c9cf43 Mon Sep 17 00:00:00 2001
From: zhifu gao <zhifu.gzf@alibaba-inc.com>
Date: 星期一, 11 三月 2024 10:48:50 +0800
Subject: [PATCH] export onnx (#1457)

---
 funasr/auto/auto_model.py |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/funasr/auto/auto_model.py b/funasr/auto/auto_model.py
index d7b6cb9..c4bab03 100644
--- a/funasr/auto/auto_model.py
+++ b/funasr/auto/auto_model.py
@@ -100,9 +100,7 @@
     def __init__(self, **kwargs):
         if not kwargs.get("disable_log", True):
             tables.print()
-        if kwargs.get("export_model", False):
-            os.environ['EXPORTING_MODEL'] = 'TRUE'
-            
+
         model, kwargs = self.build_model(**kwargs)
         
         # if vad_model is not None, build vad model else None

--
Gitblit v1.9.1