code: def download_libri_tts(path: str, subset: Optional[str] = "all"):
      """Download and extract libri tts dataset.
  
      Args:
          path (str): Path to the directory where the dataset will be stored.
  
          subset (str, optional): Name of the subset to download. If you only want to download a certain
          portion specify it here. Defaults to 'all'.
      """
  
      subset_dict = {
          "libri-tts-clean-100": "http://www.openslr.org/resources/60/train-clean-100.tar.gz",
          "libri-tts-clean-360": "http://www.openslr.org/resources/60/train-clean-360.tar.gz",
          "libri-tts-other-500": "http://www.openslr.org/resources/60/train-other-500.tar.gz",
          "libri-tts-dev-clean": "http://www.openslr.org/resources/60/dev-clean.tar.gz",
          "libri-tts-dev-other": "http://www.openslr.org/resources/60/dev-other.tar.gz",
          "libri-tts-test-clean": "http://www.openslr.org/resources/60/test-clean.tar.gz",
          "libri-tts-test-other": "http://www.openslr.org/resources/60/test-other.tar.gz",
      }
  
      os.makedirs(path, exist_ok=True)
      if subset == "all":
          for sub, val in subset_dict.items():
              print(f" > Downloading {sub}...")
              download_url(val, path)
              basename = os.path.basename(val)
              archive = os.path.join(path, basename)
              print(" > Extracting archive file...")
              extract_archive(archive)
          print(" > All subsets downloaded")
      else:
          url = subset_dict[subset]
          download_url(url, path)
          basename = os.path.basename(url)
          archive = os.path.join(path, basename)
          print(" > Extracting archive file...")
          extract_archive(archive)
  
file_path: TTS/TTS/utils/downloaders.py
imports: import os
  from typing import Optional
  from TTS.utils.download import download_kaggle_dataset, download_url, extract_archive
label_desc: Use image node_id 4 for calling a global function with example usage: download_libri_tts(path, subset) without return types