def load(self, model_path):
        """
        Loads the Ludwig model from the given path.

        :param model_path: path to the model
        :return:
        """

        if isinstance(model_path, str):
            if os.path.isdir(model_path):
                print('Loading Ludwig Policy model...')
                self.model = LudwigModel.load(model_path)
                print('done!')

            else:
                raise FileNotFoundError('Ludwig Policy: Model directory {0} '
                                        'not found'.format(model_path))
        else:
            raise ValueError('Ludwig Policy: Unacceptable value for model '
                             'file name: {0}'.format(model_path))

        Loads the Ludwig model from the given path.

        :param model_path: path to the model
        :return:
        
plato/agent/component/dialogue_policy/deep_learning/ludwig_policy.py