Week 4-Assignment 2- Neural Art --Code passes tests gives error

My submission gives the error below, even after passing all tests.

Code Cell UNQ_C5: Unexpected error (TypeError(“in user code:\n\n /tmp/student_solution_cells/cell_27.py:51 train_step *\n J_content = compute_content_cost(a_G)\n\n TypeError: tf__compute_content_cost() missing 1 required positional argument: ‘generated_output’\n”)) occurred during function check. We expected function train_step to return train_step test 1 failed. Please check that this function is defined properly.

When I look at my code for the train step I see: "J_content = compute_content_cost(a_G,a_C) "
and the code runs fine in the notebook. I did a search on the page for all instances of J_content and cannot find a line that omits the second argument. Could this be in some of the code being loaded behind the scene?

Have you tried to rerun all of your cells from the beginning?

Yes. I resubmitted and it gave a Timeout error. I got 80% on my first submission.

I had a similar problem. Restart the notebook, save all you have done all the way to the past of all test cases and submit again. It may help.