From 1c96d9aec2aecbce3191b1bcc375b79334067940 Mon Sep 17 00:00:00 2001 From: 维石 <shixian.shi@alibaba-inc.com> Date: 星期一, 03 六月 2024 15:20:37 +0800 Subject: [PATCH] update demo --- runtime/python/libtorch/demo_paraformer.py | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/runtime/python/libtorch/demo.py b/runtime/python/libtorch/demo_paraformer.py similarity index 99% rename from runtime/python/libtorch/demo.py rename to runtime/python/libtorch/demo_paraformer.py index dc4efe1..9c3a082 100644 --- a/runtime/python/libtorch/demo.py +++ b/runtime/python/libtorch/demo_paraformer.py @@ -2,7 +2,6 @@ from funasr_torch import Paraformer model_dir = "iic/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch" - model = Paraformer(model_dir, batch_size=1) # cpu # model = Paraformer(model_dir, batch_size=1, device_id=0) # gpu -- Gitblit v1.9.1