How can I create lambda function code after deploying bart transformer for summarization in sagemaker?

Your ContentType is wrong if you compare it to what I have shared. I am going to create a sample for this but not before next week.