SOTA Open Source TTS
Add generator only weight
Lengyueba1f1da9ff4d
diff --git a/fish_speech/models/vqgan/modules/firefly.py b/fish_speech/models/vqgan/modules/firefly.pyindex ac3454b..d762f99 100644--- a/fish_speech/models/vqgan/modules/firefly.py+++ b/fish_speech/models/vqgan/modules/firefly.py@@ -503,7 +503,7 @@ class FireflyBase(nn.Module):self.load_state_dict(torch.load(ckpt_path, map_location="cpu"))elif pretrained:state_dict = torch.hub.load_state_dict_from_url(- "https://github.com/fishaudio/vocoder/releases/download/1.0.0/firefly-gan-base.ckpt",+ "https://github.com/fishaudio/vocoder/releases/download/1.0.0/firefly-gan-base-generator.ckpt",map_location="cpu",)