Skip to content

Commit

Permalink
default sampling steps to 32
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Jul 27, 2024
1 parent cb56ac6 commit d40b7d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions e2_tts_pytorch/e2_tts.py
Original file line number Diff line number Diff line change
Expand Up @@ -585,8 +585,8 @@ def sample(
text: Int['b n'] | List[str] | None = None,
lens: Int['b'] | None = None,
duration: int | Int['b'] | None = None,
steps = 3,
cfg_strength = 1., # they used a classifier free guidance strenght of 1.
steps = 32,
cfg_strength = 1., # they used a classifier free guidance strength of 1.
max_duration = 4096, # in case the duration predictor goes haywire
vocoder: Callable[Float['b d n'], Float['b nw']] | None = None
):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "e2-tts-pytorch"
version = "0.1.9"
version = "0.1.10"
description = "E2-TTS in Pytorch"
authors = [
{ name = "Phil Wang", email = "[email protected]" }
Expand Down

0 comments on commit d40b7d4

Please sign in to comment.