code: def create_model(spec):
      """
      Create MLModel with specified types
      Parameters
      ----------
      spec: Pb spec from 3rd party converted model
  
      Returns
      -------
      MLModel
      """
      return coremltools.models.MLModel(spec)
  
imports: import coremltools
  from coremltools._deps import _HAS_KERAS2_TF, MSG_KERAS2_NOT_FOUND, _HAS_SKLEARN, MSG_SKLEARN_NOT_FOUND
  from coremltools.models.utils import _macos_version, _is_macos
  import unittest
  import numpy
  import pytest
  import PIL.Image
label_desc: Use image node_id 1 for calling a global function with example usage: create_model(spec) and returns: coremltools