Help! Issue with Course 5-Week3-Trigger Word Detection Assignment

I’m unable to complete my Week 3 Trigger Word Detection assignment. I’ve tried everything possible but the grader is not providing an output. Everytime I grade my code, I get an error Learner Grader: Grader Timed Out. Please help me in this regard. Please note, I am able to run all of my codes and able to get outputs/pass all tests except for a code block where it just keeps running and no output comes. So I interrupted the kernel just for that code block (screenshot is attached for that code block, it’s a Unit Test block) and went ahead with running the rest of the code, which is working as expected. Even after doing all this, I’m still getting the Grader error. PFA the screenshots. Request someone to help in this regard. Also, my Lab ID is rxxieasy.
Thanks in advance.

Maybe your code for that function has an infinite loop.

I have not made any changes to the code as these are already defined in by the Course. I’m attaching 3 screenshots S1,S2, and S3 in the order in which they are presented to me in code. S1 and S3 are running fine but S2 which is between them is taking forever to run. I believe because of this Grader is throwing an output.
Request you to kindly provide a solution to this as this is the only assignment left in my course and everything else is finished.
Thanks in advance.

I think you deleted some of the code from insert_audio_clip that was important to avoid an infinite loop.

Please do not post your code on the forum.

Thanks for your help. I was able to resolve my issue. There were a few code lines which I deleted by mistake. Also, I’ve deleted the screenshot of the codes which I posted. :slight_smile: