diff --git a/scripts/tortoise_tts.py b/scripts/tortoise_tts.py index e4480d6..f3849d0 100755 --- a/scripts/tortoise_tts.py +++ b/scripts/tortoise_tts.py @@ -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, } diff --git a/tortoise/api.py b/tortoise/api.py index 64f83b7..296ef14 100644 --- a/tortoise/api.py +++ b/tortoise/api.py @@ -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)