From ae4dceecf03c643be770e3274a070078e45fc9c7 Mon Sep 17 00:00:00 2001
From: shixian.shi <shixian.shi@alibaba-inc.com>
Date: 星期二, 23 一月 2024 11:34:03 +0800
Subject: [PATCH] bug fix for punc and umap
---
funasr/auto/auto_model.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/funasr/auto/auto_model.py b/funasr/auto/auto_model.py
index 6d74f81..f724650 100644
--- a/funasr/auto/auto_model.py
+++ b/funasr/auto/auto_model.py
@@ -377,7 +377,7 @@
result[k] = restored_data[j][k]
else:
result[k] = torch.cat([result[k], restored_data[j][k]], dim=0)
- elif k == 'text':
+ elif k == 'raw_text':
if k not in result:
result[k] = restored_data[j][k]
else:
--
Gitblit v1.9.1