Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
Found via `codespell -S *.json -L splitted,nd,ser,broadcat`
  • Loading branch information
kianmeng committed Jan 6, 2023
1 parent 2c0d8d7 commit 551fe65
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ For the those in the ML space: this is created by projecting a random vector ont

This repo comes with several pre-packaged voices. Voices prepended with "train_" came from the training set and perform
far better than the others. If your goal is high quality speech, I recommend you pick one of them. If you want to see
what Tortoise can do for zero-shot mimicing, take a look at the others.
what Tortoise can do for zero-shot mimicking, take a look at the others.

### Adding a new voice

Expand Down
2 changes: 1 addition & 1 deletion scripts/tortoise_tts.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
tuning_group.add_argument(
'--cvvp-amount', type=float, default=None,
help='How much the CVVP model should influence the output.'
'Increasing this can in some cases reduce the likelyhood of multiple speakers.')
'Increasing this can in some cases reduce the likelihood of multiple speakers.')
tuning_group.add_argument(
'--diffusion-iterations', type=int, default=None,
help='Number of diffusion steps to perform. More steps means the network has more chances to iteratively'
Expand Down
2 changes: 1 addition & 1 deletion tortoise/do_tts.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
parser.add_argument('--seed', type=int, help='Random seed which can be used to reproduce results.', default=None)
parser.add_argument('--produce_debug_state', type=bool, help='Whether or not to produce debug_state.pth, which can aid in reproducing problems. Defaults to true.', default=True)
parser.add_argument('--cvvp_amount', type=float, help='How much the CVVP model should influence the output.'
'Increasing this can in some cases reduce the likelyhood of multiple speakers. Defaults to 0 (disabled)', default=.0)
'Increasing this can in some cases reduce the likelihood of multiple speakers. Defaults to 0 (disabled)', default=.0)
args = parser.parse_args()
os.makedirs(args.output_path, exist_ok=True)

Expand Down
2 changes: 1 addition & 1 deletion tortoise/models/arch_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def normalization(channels):

class QKVAttentionLegacy(nn.Module):
"""
A module which performs QKV attention. Matches legacy QKVAttention + input/ouput heads shaping
A module which performs QKV attention. Matches legacy QKVAttention + input/output heads shaping
"""

def __init__(self, n_heads):
Expand Down
2 changes: 1 addition & 1 deletion tortoise/models/transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,4 +216,4 @@ def __init__(
self.layers = execute_type(layers, args_route = attn_route_map)

def forward(self, x, **kwargs):
return self.layers(x, **kwargs)
return self.layers(x, **kwargs)

0 comments on commit 551fe65

Please sign in to comment.