AttributeError: 'numpy.ndarray' object has no attribute 'predict'
You don't want to pickle the predictions but rather the fit.

Change joblib.dump(nb_predict_train, "trained-model.pkl") to joblib.dump(nb_model, "trained-model.pkl")