Skip to content

Commit

Permalink
Merge pull request #33 from osehmathias/patch-1
Browse files Browse the repository at this point in the history
update: replace @beartype any with Any in ConformerWrapper
  • Loading branch information
lucidrains authored May 4, 2024
2 parents fbd8333 + 017d44f commit 3127e3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions soundstorm_pytorch/soundstorm.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

from beartype import beartype
from beartype.door import is_bearable
from beartype.typing import Union, Dict, Optional, List, Optional
from beartype.typing import Union, Dict, Optional, List, Optional, Any

from soundstorm_pytorch.attend import Attend

Expand Down Expand Up @@ -494,7 +494,7 @@ def __init__(
*,
codebook_size,
num_quantizers,
conformer: Union[Conformer, Dict[str, any]],
conformer: Union[Conformer, Dict[str, Any]],
grouped_quantizers = 1
):
super().__init__()
Expand Down

0 comments on commit 3127e3c

Please sign in to comment.