code: def render(self):
      st.title("Text To Speech")
      text = st.text_input("Text:", "Lightning Apps are the best!")
  
      if text:
          model, sample_rate = self.model
          audio_numpy = model(text).numpy()
          audio = BytesIO()
          write(audio, sample_rate, audio_numpy)
          audio.seek(0)
          st.audio(audio)
  
file_path: pytorch-lightning/docs/source-app/levels/basic/hello_components/streamlit_demo.py
imports: from lightning.app import LightningApp
  import torch
  from io import BytesIO
  from functools import partial
  from scipy.io.wavfile import write
  import streamlit
label_desc: Use image node_id 2 for calling the StreamlitApp obj's underlying member method code with example usage: obj.render() without return types