def load_all_models(self):
        """
        Loads all the available models.
        :return: Returns a List of all models and their respective hashed values
        """
        self.load_models(self.list_models())
        models = self.list_models()
        for model in models:
            if model not in self.models_hash_dict:
                self.models_hash_dict[model] = str(uuid.uuid4())
        for key in list(self.models_hash_dict):
            if key not in models:
                del self.models_hash_dict[key]
        # append to json file
        with open('/models_hash/model_hash.json', "w") as fp:
            json.dump(self.models_hash_dict, fp)
        return self.models_hash_dict

        Loads all the available models.
        :return: Returns a List of all models and their respective hashed values
        
inference_api/src/main/deep_learning_service.py