code: def _get_mlkit_model_from_path(model, model_path):
      from coremltools.converters import keras as keras_converter
  
      print("converting")
      model = keras_converter.convert(model, ["data"], ["output"])
      return model
  
imports: import unittest
  import numpy
  import os
  import shutil
  import tempfile
  import itertools
  import coremltools
  from coremltools._deps import _HAS_KERAS_TF, _HAS_KERAS2_TF
  from coremltools.models.utils import _macos_version, _is_macos
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: _get_mlkit_model_from_path(model, model_path) and returns: model