From 9876729a257b2ebb6c9289e7d442c8e086d96e7b Mon Sep 17 00:00:00 2001
From: 语帆 <yf352572@alibaba-inc.com>
Date: 星期一, 04 三月 2024 15:41:22 +0800
Subject: [PATCH] atsr

---
 examples/industrial_data_pretraining/lcbnet/demo.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/examples/industrial_data_pretraining/lcbnet/demo.py b/examples/industrial_data_pretraining/lcbnet/demo.py
index b9d70c7..fe51f08 100755
--- a/examples/industrial_data_pretraining/lcbnet/demo.py
+++ b/examples/industrial_data_pretraining/lcbnet/demo.py
@@ -5,13 +5,13 @@
 
 from funasr import AutoModel
 
-model = AutoModel(model="iic/LCB-NET")
+model = AutoModel(model="iic/LCB-NET",
+                  model_revision="v1.0.0")
 
 
 # example1
-#res = model.generate(input="https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/test_audio/asr_example_zh.wav",
-#                    )
-#print(res)
+res = model.generate(input='["~/.cache/modelscope/hub/iic/LCB-NET/example/asr_example.wav","~/.cache/modelscope/hub/iic/LCB-NET/example/ocr.txt"]',data_type='["sound", "text"]')
+print(res)
 
 
 '''

--
Gitblit v1.9.1