C5W3: Trigger word detection

In the create training example function, i keep getting an error “Spectrogram is wrong. Check the parameters passed to the insert_audio_clip function”

If I understand correctly, insert_audio_clip should take the background clip, a random iterate of ‘activates’ and the previous segment as an empty list. Didnt understand the error.

Threads such as this (found by using the Forum search tool for the word “spectrogram”) may be helpful.