in Medical_Text_Analysis_Resources/docker_containers/model_container/model_scripts/hosted_model.py [0:0]
def run_model_and_null(self,request):
'''run model and null model if specified'''
request_dict=json.loads(request)
input_sentence=request_dict['input_sentence']
the_paragraph=request_dict['input_paragraph']
model_result=self.run_model(input_sentence,the_paragraph)
return(model_result)