From ff83116369ba6afe56430cb0b9d977fbe7f4bced Mon Sep 17 00:00:00 2001
From: Atomie CHEN <atomic_cwh@163.com>
Date: 星期一, 25 三月 2024 09:37:26 +0800
Subject: [PATCH] fix: resolve IndexError when using spk model and the audio contains only 1 segment (#1535)

---
 funasr/__init__.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/funasr/__init__.py b/funasr/__init__.py
index 669bdac..a5011bf 100644
--- a/funasr/__init__.py
+++ b/funasr/__init__.py
@@ -30,4 +30,5 @@
 
 import_submodules(__name__)
 
-from funasr.bin.inference import AutoModel, AutoFrontend
\ No newline at end of file
+from funasr.auto.auto_model import AutoModel
+from funasr.auto.auto_frontend import AutoFrontend
\ No newline at end of file

--
Gitblit v1.9.1