def load_model(self):
    '\n        this function loads model from file\n        '
    if os.path.isfile(self.model_file_name):
        self.model = keras.models.load_model(self.model_file_name)
this function loads model from file
def load_model(self):
    '\n        \n        '
    if os.path.isfile(self.model_file_name):
        self.model = keras.models.load_model(self.model_file_name)