code: def progress_demo():
      def my_function(x, progress=gr.Progress()):
          progress(0, desc="Starting...")
          for _ in progress.tqdm(range(20)):
              time.sleep(0.1)
          return x
  
      return gr.Interface(my_function, gr.Textbox(), gr.Textbox())
  
imports: import inspect
  import random
  import time
  import gradio
  import pytest
  from pydub import AudioSegment
label_desc: Use image node_id 5 for calling a global function with example usage: progress_demo() and returns: gr, x