Fix typing of words attribute

This commit is contained in:
Guillaume Klein
2023-03-15 17:49:07 +01:00
parent ae9898f0d8
commit 2007adf0b5

View File

@@ -25,7 +25,7 @@ class Segment(NamedTuple):
start: float
end: float
text: str
words: List[Word]
words: Optional[List[Word]]
class AudioInfo(NamedTuple):