From b32d5a2b7ee57c8e5a257f2e17743079044f8b98 Mon Sep 17 00:00:00 2001
From: bltcn <blt@tom.com>
Date: 星期五, 15 十二月 2023 10:59:37 +0800
Subject: [PATCH] modify link (#1183)

---
 runtime/onnxruntime/src/paraformer.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/runtime/onnxruntime/src/paraformer.cpp b/runtime/onnxruntime/src/paraformer.cpp
index 2c78fe5..bb15ac7 100644
--- a/runtime/onnxruntime/src/paraformer.cpp
+++ b/runtime/onnxruntime/src/paraformer.cpp
@@ -466,7 +466,7 @@
     int32_t in_feat_dim = fbank_opts_.mel_opts.num_bins;
 
     std::vector<std::vector<float>> asr_feats;
-    FbankKaldi(MODEL_SAMPLE_RATE, din, len, asr_feats);
+    FbankKaldi(asr_sample_rate, din, len, asr_feats);
     if(asr_feats.size() == 0){
       return "";
     }

--
Gitblit v1.9.1