From de7c5ddec308937047c81c4a32d0e0ba15ed1d12 Mon Sep 17 00:00:00 2001 From: Johan Nordberg Date: Sat, 11 Jun 2022 21:00:16 +0900 Subject: [PATCH] Typofix --- scripts/tortoise_tts.py | 2 +- tortoise/api.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)