(self, model_path)
Add the model's directory to the system path.
Add the model's directory to the system path.
Add the model s directory to the system path .
def _add_model_path(self, model_path):
        """
        Add the model's directory to the system path.
        """

        # Add model directory to the system path.
        model_dir = os.path.dirname(os.path.abspath(model_path))
        if model_dir not in sys.path:
            sys.path.append(model_dir)
def _add_model_path ( self , model_path ) : # Add model directory to the system path. model_dir = os . path . dirname ( os . path . abspath ( model_path ) ) if model_dir not in sys . path : sys . path . append ( model_dir )