Fix typing of words attribute
This commit is contained in:
@@ -25,7 +25,7 @@ class Segment(NamedTuple):
|
|||||||
start: float
|
start: float
|
||||||
end: float
|
end: float
|
||||||
text: str
|
text: str
|
||||||
words: List[Word]
|
words: Optional[List[Word]]
|
||||||
|
|
||||||
|
|
||||||
class AudioInfo(NamedTuple):
|
class AudioInfo(NamedTuple):
|
||||||
|
|||||||
Reference in New Issue
Block a user