From 4a7a984a5f3e3f894f86ce82e76ddd13d8a42a20 Mon Sep 17 00:00:00 2001
From: zhifu gao <zhifu.gzf@alibaba-inc.com>
Date: 星期一, 11 三月 2024 17:56:30 +0800
Subject: [PATCH] Dev gzf (#1465)
---
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