class_docstr: Transcribes audio files using OpenAI's Whisper's model on your local machine.
  
  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
  [github repo](https://github.com/openai/whisper).
class_docstr_tok: ["Transcribes","audio","files","using","OpenAI","'s","Whisper","'s","model","on","your","local","machine",".","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","[","github","repo","]","(","https",":","\/\/github.com\/openai\/whisper",")","."]
docstr: Loads the model.
docstr_tok: ["Loads","the","model","."]
code: def warm_up(self) -> None:
      """
      Loads the model.
      """
      if not self._model:
          self._model = whisper.load_model(
              self.model, device=self.device
          )
  
file_path: haystack/haystack/components/audio/whisper_local.py
imports: from typing import List, Optional, Dict, Any, Union, Literal, get_args
  import logging
  import tempfile
  from pathlib import Path
  from haystack import component, Document, default_to_dict, ComponentError
  from haystack.dataclasses import ByteStream
  from haystack.lazy_imports import LazyImport
label_desc: Use image node_id 2 for calling the LocalWhisperTranscriber obj's underlying member method code with example usage: obj.warm_up() without return types