code: def test_text_to_speech(self):
      model_type = "text-to-speech"
      interface = gr.load(
          "models/julien-c/ljspeech_tts_train_tacotron2_raw_phn_tacotron_g2p_en_no_space_train",
          hf_token=None,
          alias=model_type,
      )
      assert interface.__name__ == model_type
      assert isinstance(interface.input_components[0], gr.Textbox)
      assert isinstance(interface.output_components[0], gr.Audio)
  
imports: import os
  import tempfile
  import textwrap
  import warnings
  from pathlib import Path
  from unittest.mock import MagicMock, patch
  import pytest
  from fastapi.testclient import TestClient
  from gradio_client import media_data
  from huggingface_hub import HfFolder
  import gradio
  from gradio.context import Context
  from gradio.exceptions import GradioVersionIncompatibleError, InvalidApiNameError
  from gradio.external import TooManyRequestsError, cols_to_rows, get_tabular_examples
label_desc: Use image node_id 14 for calling the TestLoadInterface obj's underlying member method code with example usage: obj.test_text_to_speech() without return types