def health_check()

in containers/serving/resources/predict.py [0:0]


def health_check():
    """Determine if the container is working and healthy. In this sample container, we declare
    it healthy if we can load the model successfully and crrate a predictor."""
    
    status = 200 if TransformerService.create_predictor() else 404
    return Response(response="\n", status=status, mimetype="application/json")