From dae8c7babaf28d2ffab4f2a8dedecd63e2394fb4 Mon Sep 17 00:00:00 2001 From: "David S. Batista" Date: Sun, 23 Mar 2025 10:27:36 +0100 Subject: [PATCH] docs: fixing docstrings (#9092) --- haystack/components/audio/whisper_local.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/haystack/components/audio/whisper_local.py b/haystack/components/audio/whisper_local.py index 393c52ac1..cebcbdd42 100644 --- a/haystack/components/audio/whisper_local.py +++ b/haystack/components/audio/whisper_local.py @@ -113,12 +113,12 @@ class LocalWhisperTranscriber: """ Transcribes a list of audio files into a list of documents. - For the supported audio formats, languages, and other parameters, see the - [Whisper API documentation](https://platform.openai.com/docs/guides/speech-to-text) and the official Whisper - [GitHup repo](https://github.com/openai/whisper). - :param sources: A list of paths or binary streams to transcribe. + :param whisper_params: + For the supported audio formats, languages, and other parameters, see the + [Whisper API documentation](https://platform.openai.com/docs/guides/speech-to-text) and the official Whisper + [GitHup repo](https://github.com/openai/whisper). :returns: A dictionary with the following keys: - `documents`: A list of documents where each document is a transcribed audio file. The content of