removed print(model) - the problem had been user error.