code: def model_fn(model_dir):
      # Load our model from Hugging Face
      processor = DonutProcessor.from_pretrained(model_dir)
      model = VisionEncoderDecoderModel.from_pretrained(model_dir)
  
      # Move model to GPU
      model.to(device)
  
      return model, processor
  
label_desc: Use image node_id 1 for calling a global function with example usage: model_fn(model_dir) and returns: model,  processor