From 895d84f24d8fc72298cbe846329b3f992d7ec23a Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期一, 18 九月 2023 10:49:27 +0800
Subject: [PATCH] v0.7.8
---
funasr/version.txt | 2 +-
funasr/bin/asr_inference_launch.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/funasr/bin/asr_inference_launch.py b/funasr/bin/asr_inference_launch.py
index 608dad0..ad657eb 100644
--- a/funasr/bin/asr_inference_launch.py
+++ b/funasr/bin/asr_inference_launch.py
@@ -652,7 +652,7 @@
batch_size_token_ms_cum = 0
beg_idx = 0
beg_asr_total = time.time()
- for j, _ in tqdm(enumerate(range(0, n))):
+ for j, _ in enumerate(tqdm(range(0, n))):
batch_size_token_ms_cum += (sorted_data[j][0][1] - sorted_data[j][0][0])
if j < n - 1 and (batch_size_token_ms_cum + sorted_data[j + 1][0][1] - sorted_data[j + 1][0][0]) < batch_size_token_ms and (sorted_data[j + 1][0][1] - sorted_data[j + 1][0][0]) < batch_size_token_threshold_s:
continue
diff --git a/funasr/version.txt b/funasr/version.txt
index 879be8a..e7c7d3c 100644
--- a/funasr/version.txt
+++ b/funasr/version.txt
@@ -1 +1 @@
-0.7.7
+0.7.8
--
Gitblit v1.9.1