[Misc] Clarify mono audio requirement (#50141)
Signed-off-by: NickLucche <nicolo.lucchesi@mistral.ai>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user