code: def load_model(model_uri):
      """Load a Ludwig model from a local file or a run.
  
      :param model_uri: The location, in URI format, of the MLflow model. For example:
  
                        - ``/Users/me/path/to/local/model``
                        - ``relative/path/to/local/model``
                        - ``s3://my_bucket/path/to/model``
                        - ``runs:/<mlflow_run_id>/run-relative/path/to/model``
  
                        For more information about supported URI schemes, see
                        `Referencing Artifacts <https://www.mlflow.org/docs/latest/tracking.html#
                        artifact-locations>`_.
  
      :return: A Ludwig model (an instance of `ludwig.api.LudwigModel`_).
      """
      local_model_path = _download_artifact_from_uri(
          artifact_uri=model_uri
      )
      flavor_conf = _get_flavor_configuration(
          model_path=local_model_path, flavor_name=FLAVOR_NAME
      )
      lgb_model_file_path = os.path.join(
          local_model_path, flavor_conf.get("data", "model.lgb")
      )
      return _load_model(path=lgb_model_file_path)
  
imports: import logging
  import os
  import shutil
  import mlflow
  import yaml
  from mlflow import pyfunc
  from mlflow.exceptions import MlflowException
  from mlflow.models import Model
  from mlflow.models.model import MLMODEL_FILE_NAME
  from mlflow.models.signature import ModelSignature
  from mlflow.models.utils import _save_example, ModelInputExample
  from mlflow.tracking._model_registry import DEFAULT_AWAIT_MAX_SLEEP_SECONDS
  from mlflow.tracking.artifact_utils import _download_artifact_from_uri
  from mlflow.utils.environment import _mlflow_conda_env
  from mlflow.utils.model_utils import _get_flavor_configuration
  from ludwig.api_annotations import DeveloperAPI
  from ludwig.globals import MODEL_HYPERPARAMETERS_FILE_NAME
  from ludwig.utils.data_utils import load_json
label_desc: Use image node_id 6 for calling a global function with example usage: load_model(model_uri) and returns: _load_model