From 1c8376ea7e3be1150991bd225ab8cbf2c5b3df93 Mon Sep 17 00:00:00 2001
From: zhifu gao <zhifu.gzf@alibaba-inc.com>
Date: 星期三, 24 一月 2024 17:29:52 +0800
Subject: [PATCH] Funasr1.0 (#1298)
---
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