docs: fixing docstrings (#9092)

This commit is contained in:
David S. Batista 2025-03-23 10:27:36 +01:00 committed by GitHub
parent 1c1030efc6
commit dae8c7baba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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