File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/transformers/models/qwen2_audio Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -105,12 +105,12 @@ def __call__(
105105 The audio or batch of audios to be prepared. Each audio can be a NumPy array.
106106 """
107107
108- # Handle BC when user passes deprecared keyword argument
108+ # Handle BC when user passes deprecated keyword argument
109109 if audios is not None and audio is None :
110110 audio = audios
111- warnings .wanr (
111+ warnings .warn (
112112 "You may have used the keyword argument for the `audio` inputs. It is strongly recommended to pass inputs with keyword arguments "
113- "with keys `audio` and `text`. From transformers v4.55 `audio` will be the onle acceptable keyword argument." ,
113+ "with keys `audio` and `text`. From transformers v4.55 `audio` will be the only acceptable keyword argument." ,
114114 FutureWarning ,
115115 )
116116
You can’t perform that action at this time.
0 commit comments