C5W2A2 : Emojify! - Cell #13. Can't compile the student's code

I have have run all cells in the notebook and received all test passed.
However, when I submit I get the following message:
Exercise 5:
Cell #13. Can't compile the student's code. Error: ValueError('need at least one array to concatenate',)

The problem is that I cannot understand where I have done something wrong.
As far as I can tell the cells are not numbered so the reference to Cell 13 is useless.
I can also not find anywhere where my code even attempts to do any concatenation of arrays.
Any thought on what the underlying problem might be?

The grader numbers the cells in sequence from the top of the notebook. Just count up from 1.

Did your notebook pass all of the tests in in the “model_test()” cell?

That’s Cell 12. I don’t see anyting in Cell 13 (where the model is run) that should cause a concatenate error.

Questions (Please answer all of them):

  • Did you change the name of your notebook?
  • Did you add any new cells to the notebook?

My notebook passes all the tests in the “model_test()” cell
Answers:

  • I did not change the name of my notebook.
  • I did not add any new cells to the notebook.

I did leave the notebook open for a while and had to reload it when I returned.

Update: Be sure you do not split the sentence only on spaces. Use split() instead of split(’ '), so it splits on any whitespace.

I think you meant:
Use split() instead of split(’ ') so it splits on any whitespace.