Trigger Word Detection (Problem)

I get this error


AssertionError Traceback (most recent call last)
15 print("\033[92m All tests passed!")
—> 17 insert_audio_clip_test(insert_audio_clip)

in insert_audio_clip_test(target)
5 duration = segment_time[1] - segment_time[0]
6 assert segment_time[0] > 4400, “Error: The audio clip is overlaping with the first segment”
----> 7 assert duration + 1 == len(activates[0]) , “The segment length must match the audio clip length”
8 assert audio_clip != backgrounds[0] , “The audio clip must be different than the pure background”

AssertionError: The segment length must match the audio clip length

1 Like

i got the same too and i dont know what is the solution

I am also got stuck on same error , someone kindly help me out