import pickle


def import_model(clf_path = '../models/disaster_response_clf.pkl'):
    """
    Function: load model from pickle file
    Args:
        clf_path (str): path of pickle file
    Return:
        model (GridSearch obj): loaded model
    """
    with open(clf_path, 'rb') as f:
        model = pickle.load(f)

    return model