Duplicated from ameerazam08/Gemini-Image-Edit
345855e
1
2
3
4
5
6
def detect_hook(words): """ Finds strongest opening segment (first 3–7 seconds) """ return [w for w in words if w["start"] <= 5]