code: def add_text(history, text):
      history = history + [(text, None)]
      return history, gr.update(value=None, interactive=True)
  
file_path: colossalai/applications/ColossalQA/examples/webui_demo/webui.py
imports: import argparse
  import json
  import os
  import requests
  import gradio
  from utils import DocAction
label_desc: Use image node_id 3 for calling a global function with example usage: add_text(history, text) and returns: history,  gr