code: def add_file(history, file):
      history = history + [((file.name,), None)]
      return history
  
imports: import gradio
  import os
  import time
label_desc: Use image node_id 3 for calling a global function with example usage: add_file(history, file) and returns: history