From 2e5318a176ad325a298582c2708d1533557cc412 Mon Sep 17 00:00:00 2001
From: speech_asr <wangjiaming.wjm@alibaba-inc.com>
Date: 星期五, 10 三月 2023 18:55:22 +0800
Subject: [PATCH] update unittest

---
 tests/test_punctuation_pipeline.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/test_punctuation_pipeline.py b/tests/test_punctuation_pipeline.py
index 4610f01..52be9bb 100644
--- a/tests/test_punctuation_pipeline.py
+++ b/tests/test_punctuation_pipeline.py
@@ -20,7 +20,7 @@
         )
         inputs = "./egs_modelscope/punctuation/punc_ct-transformer_zh-cn-common-vocab272727-pytorch/data/punc_example.txt"
         rec_result = inference_pipeline(text_in=inputs)
-        logger.info("asr inference result: {0}".format(rec_result))
+        logger.info("punctuation inference result: {0}".format(rec_result))
 
     def test_vadrealtime_inference_pipeline(self):
         inference_pipeline = pipeline(
@@ -36,7 +36,7 @@
             rec_result = inference_pipeline(text_in=vad, cache=cache_out)
             cache_out = rec_result['cache']
             rec_result_all += rec_result['text']
-        logger.info("asr inference result: {0}".format(rec_result_all))
+        logger.info("punctuation inference result: {0}".format(rec_result_all))
 
 
 if __name__ == '__main__':

--
Gitblit v1.9.1