C5W3 Trigger Word Detection error in create_training_example [SOLVED]

I am getting too many values to unpack error using previous_segments in create_training_example. It is initialized as instructed to an empty list. Any ideas?

in is_overlapping(segment_time, previous_segments)
22 # Step 2: loop over the previous_segments start and end times.
23 # Compare start/end times and set the flag to True if there is an overlap (≈ 3 lines)
—> 24 for previous_start, previous_end in previous_segments: # @KEEP

ValueError: too many values to unpack (expected 2)

SOLVED: I made a logical error in the insert_audio_clip function that the unit test did not catch (appending the audio clip instead of the segment time)

Thanks for your report.