From 78ee057a99e8fb3c6ef9c0520a6bbd8c0f651cec Mon Sep 17 00:00:00 2001
From: shixian.shi <shixian.shi@alibaba-inc.com>
Date: 星期二, 06 二月 2024 17:38:58 +0800
Subject: [PATCH] update for funasr-app and bug fix
---
funasr/models/campplus/cluster_backend.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/funasr/models/campplus/cluster_backend.py b/funasr/models/campplus/cluster_backend.py
index d667f6b..72d06da 100644
--- a/funasr/models/campplus/cluster_backend.py
+++ b/funasr/models/campplus/cluster_backend.py
@@ -118,7 +118,7 @@
self.metric = metric
def __call__(self, X):
- from umap.umap_ import UMAP
+ import umap.umap_ as umap
umap_X = umap.UMAP(
n_neighbors=self.n_neighbors,
min_dist=0.0,
--
Gitblit v1.9.1