Skip to content

Commit

Permalink
speechset: Fix type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
revsic committed Nov 23, 2021
1 parent ed94d69 commit fe15b8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion speeches/speechset.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def split(self, size: int):
self.dataset = self.dataset[:size]
return residual

def __getitem__(self, index: Union[int, slice, List[int]]) -> Any:
def __getitem__(self, index: Union[int, slice]) -> Any:
"""Lazy normalizing.
Args:
index: input index.
Expand Down

0 comments on commit fe15b8c

Please sign in to comment.