Skip to content

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

test

语帆5130d2406df1
diff --git a/funasr/frontends/default.py b/funasr/frontends/default.py
index 66d42f71c..364c8bbb9 100644
--- a/funasr/frontends/default.py
+++ b/funasr/frontends/default.py
@@ -48,6 +48,7 @@ class DefaultFrontend(nn.Module):
# Deepcopy (In general, dict shouldn't be used as default arg)
frontend_conf = copy.deepcopy(frontend_conf)
self.hop_length = hop_length
+ self.fs = fs
if apply_stft:
self.stft = Stft(