[Misc] Clarify mono audio requirement (#50141)

Signed-off-by: NickLucche <nicolo.lucchesi@mistral.ai>
This commit is contained in:
Nicolò Lucchesi
2026-07-31 10:46:53 +00:00
committed by GitHub
parent 6e311c6e20
commit 17beffd55f
4 changed files with 31 additions and 5 deletions
@@ -178,6 +178,7 @@ class SpeechToTextBaseServing(GenerateBaseServing):
y, sr = load_audio(
buf,
sr=self.asr_config.sample_rate,
mono=True,
max_duration_s=self.max_audio_decode_duration_s,
)
except ValueError: