code: def convert_input(form, input_features):
      """Returns a new input and a list of files to be cleaned up."""
      new_input = {}
      files = []
      for k, v in form.multi_items():
          if isinstance(v, UploadFile):
              # check if audio or image file
              if input_features.get(k).type() == AUDIO:
                  new_input[k] = _write_file(v, files)
              else:
                  new_input[k] = _read_image_buffer(v)
          else:
              new_input[k] = v
  
      return new_input, files
  
imports: import argparse
  import io
  import json
  import logging
  import os
  import sys
  import tempfile
  import pandas
  import torch
  from torchvision.io import decode_image
  from ludwig.api import LudwigModel
  from ludwig.constants import AUDIO, COLUMN
  from ludwig.contrib import add_contrib_callback_args
  from ludwig.globals import LUDWIG_VERSION
  from ludwig.utils.print_utils import get_logging_level_registry, print_ludwig
  from ludwig.utils.server_utils import NumpyJSONResponse
label_desc: Use image node_id 4 for calling a global function with example usage: convert_input(form, input_features) and returns: new_input,  files