File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -146,14 +146,16 @@ def load_e2_model(self, vocoder):
146146
147147 def load_f5_model (self , vocoder ):
148148 repo_name = "F5-TTS"
149+ extension = "safetensors"
149150 if vocoder == "bigvgan" :
150151 exp_name = "F5TTS_Base_bigvgan"
151152 ckpt_step = 1250000
153+ extension = "pt"
152154 else :
153155 exp_name = "F5TTS_Base"
154156 ckpt_step = 1200000
155157 return self .load_f5_model_url (
156- f"hf://SWivid/{ repo_name } /{ exp_name } /model_{ ckpt_step } .safetensors " , # noqa E501
158+ f"hf://SWivid/{ repo_name } /{ exp_name } /model_{ ckpt_step } .{ extension } " , # noqa E501
157159 vocoder ,
158160 )
159161
Original file line number Diff line number Diff line change 11[project ]
22name = " comfyui-f5-tts"
33description = " Text to speech with F5-TTS"
4- version = " 1.0.16 "
4+ version = " 1.0.17 "
55license = {text = " MIT License" }
66
77[project .urls ]
You can’t perform that action at this time.
0 commit comments