From db9ec58cb430fa10b273a7a365457bf33dc46adc Mon Sep 17 00:00:00 2001
From: zhifu gao <zhifu.gzf@alibaba-inc.com>
Date: 星期三, 05 六月 2024 17:30:57 +0800
Subject: [PATCH] Dev gzf exp (#1785)

---
 funasr/auto/auto_model.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/funasr/auto/auto_model.py b/funasr/auto/auto_model.py
index e8ca008..7b5a02f 100644
--- a/funasr/auto/auto_model.py
+++ b/funasr/auto/auto_model.py
@@ -359,6 +359,7 @@
             results_sorted = []
 
             if not len(sorted_data):
+                results_ret_list.append({"key": key, "text": "", "timestamp": []})
                 logging.info("decoding, utt: {}, empty speech".format(key))
                 continue
 

--
Gitblit v1.9.1