You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
raiseTypeError(f"We expect a numpy ndarray or torch tensor as input, got `{type(inputs)}`")
434
-
iflen(inputs.shape) !=1:
435
-
raiseValueError("We expect a single channel audio input for AutomaticSpeechRecognitionPipeline")
438
+
ifinputs.ndim!=1:
439
+
logger.warning(
440
+
f"We expect a single channel audio input for AutomaticSpeechRecognitionPipeline, got {inputs.ndim}. Taking the mean of the channels for mono conversion."
0 commit comments