code: def load_voice(voice: str, extra_voice_dirs: List[str] = []):
      if voice == "random":
          return None, None
  
      voices = get_voices(extra_voice_dirs)
      paths = voices[voice]
      if len(paths) == 1 and paths[0].endswith(".pth"):
          return None, torch.load(paths[0])
      else:
          conds = []
          for cond_path in paths:
              c = load_required_audio(cond_path)
              conds.append(c)
          return conds, None
  
imports: import os
  from glob import glob
  from typing import Dict, List
  import librosa
  import numpy
  import torch
  import torchaudio
  from scipy.io.wavfile import read
  from TTS.utils.audio.torch_transforms import TorchSTFT
label_desc: Use image node_id 11 for calling a global function with example usage: load_voice(voice, extra_voice_dirs) and returns: None,  None, None,  torch, conds,  None