code: def link_values(library_names, returned_values):
      previous_values = {
          library_name: None for library_name in library_names
      }
      for library_name in library_names:
          for i in returned_values.keys():
              if library_name not in returned_values[i]:
                  returned_values[i][library_name] = previous_values[
                      library_name
                  ]
              else:
                  previous_values[library_name] = returned_values[i][
                      library_name
                  ]
  
      return returned_values
  
file_path: gradio/demo/dashboard/helpers.py
imports: import collections
  from datetime import datetime
  from datasets import DatasetDict, load_dataset
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: link_values(library_names, returned_values) and returns: returned_values