Skip to content

Commit

Permalink
added different type checks
Browse files Browse the repository at this point in the history
  • Loading branch information
trias702 committed Jun 23, 2023
1 parent ffc8455 commit dae91fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nemo/collections/common/data/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,8 @@ class CodeSwitchedDataset(IterableDataset):

def __init__(
self,
datasets: list,
lang_probs: Optional[list] = None,
datasets: List[Any],
lang_probs: Optional[List[float]] = None,
shuffle: bool = True,
min_duration: int = 4,
max_duration: int = 20,
Expand Down

0 comments on commit dae91fd

Please sign in to comment.