From 2ba0e056cd6fccacf11617e986d37295e004a27a Mon Sep 17 00:00:00 2001 From: mrq Date: Fri, 3 Mar 2023 06:45:35 +0000 Subject: [PATCH] attribution --- tortoise/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tortoise/api.py b/tortoise/api.py index 26ff295..01bcc48 100755 --- a/tortoise/api.py +++ b/tortoise/api.py @@ -312,6 +312,7 @@ class TextToSpeech: self.cvvp = None # CVVP model is only loaded if used. if use_bigvgan: + # credit https://github.com/deviandiceto / https://git.ecker.tech/mrq/ai-voice-cloning/issues/52 self.vocoder = BigVGAN().cpu() state_dict_bigvgan = load_checkpoint(get_model_path('bigvgan_base_24khz_100band.pth', models_dir), self.device) self.vocoder.load_state_dict(state_dict_bigvgan['generator'])