forked from mrq/tortoise-tts
Typofix
This commit is contained in:
parent
fc4a31028a
commit
de7c5ddec3
|
@ -210,7 +210,7 @@ tts = TextToSpeech(models_dir=args.models_dir, enable_redaction=not args.disable
|
|||
device=args.device, autoregressive_batch_size=args.batch_size)
|
||||
gen_settings = {
|
||||
'use_deterministic_seed': seed,
|
||||
'varbose': not args.quiet,
|
||||
'verbose': not args.quiet,
|
||||
'k': args.candidates,
|
||||
'preset': args.preset,
|
||||
}
|
||||
|
|
|
@ -270,7 +270,7 @@ class TextToSpeech:
|
|||
if not isinstance(voice_samples, list):
|
||||
voice_samples = [voice_samples]
|
||||
for vs in voice_samples:
|
||||
auto_conds.append(format_conditioning(vs, self.device))
|
||||
auto_conds.append(format_conditioning(vs, device=self.device))
|
||||
auto_conds = torch.stack(auto_conds, dim=1)
|
||||
self.autoregressive = self.autoregressive.to(self.device)
|
||||
auto_latent = self.autoregressive.get_conditioning(auto_conds)
|
||||
|
|
Loading…
Reference in New Issue
Block a user