If anyone else is trying to run the code on their local machine, beware that there is a small mistake in the code
get_completion = pipeline("summarization", model="shleifer/distilbart-cnn-12-6")
It should be
get_completion = pipeline("summarization", model="sshleifer/distilbart-cnn-12-6")