From ae7aff2e9cf6c79cf61e18cdc60ce68cf9f98400 Mon Sep 17 00:00:00 2001
From: majic31 <majic31@163.com>
Date: 星期二, 24 十二月 2024 17:51:11 +0800
Subject: [PATCH] fix: solve problems in sensevoice_bin.py related to argmax and unique, as mentioned in issue #2331 (#2332)

---
 runtime/onnxruntime/src/precomp.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/runtime/onnxruntime/src/precomp.h b/runtime/onnxruntime/src/precomp.h
index 776de8e..d525c65 100644
--- a/runtime/onnxruntime/src/precomp.h
+++ b/runtime/onnxruntime/src/precomp.h
@@ -64,6 +64,10 @@
 #include "seg_dict.h"
 #include "resample.h"
 #include "paraformer.h"
+#include "sensevoice-small.h"
+#ifdef USE_GPU
+#include "paraformer-torch.h"
+#endif
 #include "paraformer-online.h"
 #include "offline-stream.h"
 #include "tpass-stream.h"

--
Gitblit v1.9.1