Skip to content

Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.

v0.7.8

游雁895d84f24d8f
diff --git a/funasr/bin/asr_inference_launch.py b/funasr/bin/asr_inference_launch.py
index 608dad09b..ad657ebc6 100644
--- a/funasr/bin/asr_inference_launch.py
+++ b/funasr/bin/asr_inference_launch.py
@@ -652,7 +652,7 @@ def inference_paraformer_vad_punc(
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 879be8a98..e7c7d3cc3 100644
--- a/funasr/version.txt
+++ b/funasr/version.txt
@@ -1 +1 @@
-0.7.7
+0.7.8