From 4e37a5fda20f0878b593b8ba2b9ea46db63743b5 Mon Sep 17 00:00:00 2001
From: 嘉渊 <wangjiaming.wjm@alibaba-inc.com>
Date: 星期四, 11 五月 2023 14:16:28 +0800
Subject: [PATCH] update repo

---
 funasr/runtime/onnxruntime/tester/tester.cpp |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/funasr/runtime/onnxruntime/tester/tester.cpp b/funasr/runtime/onnxruntime/tester/tester.cpp
index 1739f0b..35d534f 100644
--- a/funasr/runtime/onnxruntime/tester/tester.cpp
+++ b/funasr/runtime/onnxruntime/tester/tester.cpp
@@ -15,9 +15,9 @@
 int main(int argc, char *argv[])
 {
 
-    if (argc < 3)
+    if (argc < 4)
     {
-        printf("Usage: %s /path/to/model_dir /path/to/wav/file quantize(true or false)", argv[0]);
+        printf("Usage: %s /path/to/model_dir /path/to/wav/file quantize(true or false) \n", argv[0]);
         exit(-1);
     }
     struct timeval start, end;
@@ -51,8 +51,7 @@
         string msg = RapidAsrGetResult(Result, 0);
         setbuf(stdout, NULL);
         cout << "Result: \"";
-        cout << msg << endl;
-        cout << "\"." << endl;
+        cout << msg << "\"." << endl;
         snippet_time = RapidAsrGetRetSnippetTime(Result);
         RapidAsrFreeResult(Result);
     }

--
Gitblit v1.9.1