From 3e3eed19450b05953792a3dda2bdfe45b55849bc Mon Sep 17 00:00:00 2001
From: shixian.shi <shixian.shi@alibaba-inc.com>
Date: 星期四, 28 十二月 2023 11:25:49 +0800
Subject: [PATCH] update bicif, bicif seaco
---
funasr/utils/timestamp_tools.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/funasr/utils/timestamp_tools.py b/funasr/utils/timestamp_tools.py
index c463f0c..8186dff 100644
--- a/funasr/utils/timestamp_tools.py
+++ b/funasr/utils/timestamp_tools.py
@@ -269,7 +269,7 @@
def convert_external_alphas(alphas_file, text_file, output_file):
- from funasr.models.predictor.cif import cif_wo_hidden
+ from funasr.models.paraformer.cif_predictor import cif_wo_hidden
with open(alphas_file, 'r') as f1, open(text_file, 'r') as f2, open(output_file, 'w') as f3:
for line1, line2 in zip(f1.readlines(), f2.readlines()):
line1 = line1.rstrip()
--
Gitblit v1.9.1