From 82a07e2f6ec60aa25a3931e9ee0d99ead642484a Mon Sep 17 00:00:00 2001
From: Kyle He <599316527@users.noreply.github.com>
Date: 星期四, 14 八月 2025 16:07:54 +0800
Subject: [PATCH] fix: funasr_onnx pass run_options to ort (#2632)
---
funasr/bin/tokenize_text.py | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/funasr/bin/tokenize_text.py b/funasr/bin/tokenize_text.py
index 0ecf2f6..8c2aae0 100755
--- a/funasr/bin/tokenize_text.py
+++ b/funasr/bin/tokenize_text.py
@@ -133,7 +133,7 @@
if not write_vocabulary:
return
-
+
## FIXME
## del duplicate add_symbols in counter
for symbol_and_id in add_symbol:
@@ -197,12 +197,8 @@
help="The verbose level of logging",
)
- parser.add_argument(
- "--input", "-i", required=True, help="Input text. - indicates sys.stdin"
- )
- parser.add_argument(
- "--output", "-o", required=True, help="Output text. - indicates sys.stdout"
- )
+ parser.add_argument("--input", "-i", required=True, help="Input text. - indicates sys.stdin")
+ parser.add_argument("--output", "-o", required=True, help="Output text. - indicates sys.stdout")
parser.add_argument(
"--field",
"-f",
--
Gitblit v1.9.1