def _get_prediction_service_stub(): channel = grpc.insecure_channel('{}:{}'.format('127.0.0.1', 9000)) return prediction_service.PredictionServiceStub(channel)