code: def make_waveform(*args, **kwargs):
      # Further remove some warnings.
      be = time.time()
      with warnings.catch_warnings():
          warnings.simplefilter("ignore")
          out = gr.make_waveform(*args, **kwargs)
          print("Make a video took", time.time() - be)
          return out
  
imports: import argparse
  from concurrent.futures import ProcessPoolExecutor
  import logging
  import os
  from pathlib import Path
  import subprocess
  import sys
  from tempfile import NamedTemporaryFile
  import time
  import typing
  import warnings
  import gradio
  from audiocraft.data.audio import audio_write
  from audiocraft.models import MAGNeT
label_desc: Use image node_id 3 for calling a global function with example usage: make_waveform() and returns: out