code: def test_voice_conversion():
      print(" > Run voice conversion inference using YourTTS model.")
      model_name = "tts_models/multilingual/multi-dataset/your_tts"
      language_id = "en"
      speaker_wav = os.path.join(
          get_tests_data_path(), "ljspeech", "wavs", "LJ001-0001.wav"
      )
      reference_wav = os.path.join(
          get_tests_data_path(), "ljspeech", "wavs", "LJ001-0032.wav"
      )
      output_path = os.path.join(get_tests_output_path(), "output.wav")
      run_cli(
          f"tts --model_name  {model_name}"
          f" --out_path {output_path} --speaker_wav {speaker_wav} --reference_wav {reference_wav} --language_idx {language_id} --progress_bar False"
      )
  
file_path: TTS/tests/zoo_tests/test_models.py
imports: import glob
  import os
  import shutil
  import torch
  from tests import get_tests_data_path, get_tests_output_path, run_cli
  from TTS.tts.utils.languages import LanguageManager
  from TTS.tts.utils.speakers import SpeakerManager
  from TTS.utils.generic_utils import get_user_data_dir
  from TTS.utils.manage import ModelManager
label_desc: Use image node_id 8 for calling a global function with example usage: test_voice_conversion() without return types