From 437d950f3119583ca4fb620fe6fb68755fcb80f1 Mon Sep 17 00:00:00 2001
From: speech_asr <wangjiaming.wjm@alibaba-inc.com>
Date: 星期五, 10 三月 2023 18:56:10 +0800
Subject: [PATCH] update unittest
---
tests/test_lm_pipeline.py | 2 +-
tests/test_asr_vad_punc_inference_pipeline.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/test_asr_vad_punc_inference_pipeline.py b/tests/test_asr_vad_punc_inference_pipeline.py
index bcb57e0..628b256 100644
--- a/tests/test_asr_vad_punc_inference_pipeline.py
+++ b/tests/test_asr_vad_punc_inference_pipeline.py
@@ -25,7 +25,7 @@
)
rec_result = inference_pipeline(
audio_in='https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/test_audio/asr_example_zh.wav')
- logger.info("asr inference result: {0}".format(rec_result))
+ logger.info("asr_vad_punc inference result: {0}".format(rec_result))
if __name__ == '__main__':
diff --git a/tests/test_lm_pipeline.py b/tests/test_lm_pipeline.py
index 205d920..3a5ec57 100644
--- a/tests/test_lm_pipeline.py
+++ b/tests/test_lm_pipeline.py
@@ -18,7 +18,7 @@
model='damo/speech_transformer_lm_zh-cn-common-vocab8404-pytorch',
)
rec_result = inference_pipeline(text_in="hello 澶� 瀹� 濂� 鍛�")
- logger.info("asr inference result: {0}".format(rec_result))
+ logger.info("lm inference result: {0}".format(rec_result))
if __name__ == '__main__':
--
Gitblit v1.9.1