Autograder showing error although I find no error in my Trigger Word detection notebook Week 3 Prog Assignment 2

Code Cell UNQ_C5: Unexpected error (NameError(“name ‘return_r’ is not defined”)) occurred during function check.

I cant understand why this error is coming though everything is working fine in my Trigger Word detection notebook

Hi @Shilpi_Chaudhuri

The kernel can become inactive, so refresh the kernel and rerun your code from start should help.

Thank u so much ! Its working now