diff --git a/src/transformers/models/qwen2_audio/processing_qwen2_audio.py b/src/transformers/models/qwen2_audio/processing_qwen2_audio.py index 0be2428f2ef..1d783ac26c3 100644 --- a/src/transformers/models/qwen2_audio/processing_qwen2_audio.py +++ b/src/transformers/models/qwen2_audio/processing_qwen2_audio.py @@ -105,12 +105,12 @@ class Qwen2AudioProcessor(ProcessorMixin): The audio or batch of audios to be prepared. Each audio can be a NumPy array. """ - # Handle BC when user passes deprecared keyword argument + # Handle BC when user passes deprecated keyword argument if audios is not None and audio is None: audio = audios - warnings.wanr( + warnings.warn( "You may have used the keyword argument for the `audio` inputs. It is strongly recommended to pass inputs with keyword arguments " - "with keys `audio` and `text`. From transformers v4.55 `audio` will be the onle acceptable keyword argument.", + "with keys `audio` and `text`. From transformers v4.55 `audio` will be the only acceptable keyword argument.", FutureWarning, )