@@ -242,7 +242,7 @@ def __call__(
242
242
the text. Please refer to the docstring of the above methods for more information.
243
243
This methods does not support audio. To prepare the audio, please use:
244
244
1. `apply_chat_template` [`~VoxtralProcessor.apply_chat_template`] method.
245
- 2. `apply_transcrition_request ` [`~VoxtralProcessor.apply_transcrition_request `] method.
245
+ 2. `apply_transcription_request ` [`~VoxtralProcessor.apply_transcription_request `] method.
246
246
247
247
Args:
248
248
text (`str`, `list[str]`, `list[list[str]]`):
@@ -284,7 +284,7 @@ def __call__(
284
284
return BatchFeature (data = out , tensor_type = common_kwargs .pop ("return_tensors" , None ))
285
285
286
286
# TODO: @eustlb, this should be moved to mistral_common + testing
287
- def apply_transcrition_request (
287
+ def apply_transcription_request (
288
288
self ,
289
289
language : Union [str , list [str ]],
290
290
audio : Union [str , list [str ], AudioInput ],
@@ -306,7 +306,7 @@ def apply_transcrition_request(
306
306
language = "en"
307
307
audio = "https://huggingface.co/datasets/hf-internal-testing/dummy-audio-samples/resolve/main/obama.mp3"
308
308
309
- inputs = processor.apply_transcrition_request (language=language, audio=audio, model_id=model_id)
309
+ inputs = processor.apply_transcription_request (language=language, audio=audio, model_id=model_id)
310
310
```
311
311
312
312
Args:
0 commit comments