We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
locate()
1 parent 96aff99 commit e7ff3ddCopy full SHA for e7ff3dd
test/test_locate.py
@@ -14,7 +14,7 @@ def test_locate(model_names):
14
assert 'americans' in words, words
15
matches = model.locate(audio_path, 'americans', 'en', mode=1)
16
assert len(matches), len(matches)
17
- any(['americans' in match['duration_window_text'].lower() for match in matches])
+ assert any(['americans' in match['duration_window_text'].lower() for match in matches])
18
19
20
def test():
0 commit comments