class_docstr: Loader that loads the transcriptions of audio
code: def load(self, from_youtube=False) -> List[Document]:
      if self.model is None:
          self.load_model()
  
      # https://librosa.org/doc/main/generated/librosa.load.html
      if from_youtube:
          save_dir = tempfile.mkdtemp()
          makedirs(save_dir, exist_ok=True)
          youtube_loader = YoutubeAudioLoader(
              self.audio_paths, save_dir
          )
          loader = GenericLoader(youtube_loader, self.model)
          docs = loader.load()
          self.files_out = youtube_loader.files_out
          return docs
      else:
          docs = []
          for fil in self.audio_paths:
              loader = GenericLoader.from_filesystem(
                  os.path.dirname(fil),
                  glob=os.path.basename(fil),
                  parser=self.model,
              )
              docs += loader.load()
          return docs
  
imports: import logging
  import os
  import tempfile
  import time
  from typing import Dict, Iterator, Optional, Tuple
  from langchain.document_loaders.base import BaseBlobParser
  from langchain.document_loaders.blob_loaders import Blob
  from langchain.document_loaders.generic import GenericLoader
  from langchain.schema import Document
  from typing import List, Union, Any, Tuple
  import requests
  from langchain.docstore.document import Document
  from langchain.document_loaders import ImageCaptionLoader
  from utils import get_device, NullContext, clear_torch_cache, have_use_faster, makedirs
  from importlib.metadata import distribution, PackageNotFoundError
  from typing import Iterable, List
  from langchain.document_loaders.blob_loaders import FileSystemBlobLoader
  from langchain.document_loaders.blob_loaders.schema import Blob, BlobLoader
label_desc: Use image node_id 5 for calling the H2OAudioCaptionLoader obj's underlying member method code with example usage: obj.load(from_youtube) and returns: docs, docs