code: def add_text(history, text):
      history = history + [(text, None)]
      return history, gr.Textbox(value="", interactive=False)
  
imports: import gradio
  import os
  import time
label_desc: Use image node_id 2 for calling a global function with example usage: add_text(history, text) and returns: history,  gr