From 8ec8c071dc18a5f4c6e5f34e6a2ebb3b28d58546 Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期二, 23 一月 2024 15:49:40 +0800
Subject: [PATCH] rm LoadWav2Char for clients
---
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