def get_model()

in src/src/predictor.py [0:0]


    def get_model(cls):
        """Get the model object for this instance, loading it if it's not already loaded."""
        if cls.model == None:
            # Load ML Model from TensorflowHub 
            cls.model = hub.load(model_path)
            print("Tensorflow hub model loaded!")
        return cls.model