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):
146
146
147
147
def load_f5_model (self , vocoder ):
148
148
repo_name = "F5-TTS"
149
+ extension = "safetensors"
149
150
if vocoder == "bigvgan" :
150
151
exp_name = "F5TTS_Base_bigvgan"
151
152
ckpt_step = 1250000
153
+ extension = "pt"
152
154
else :
153
155
exp_name = "F5TTS_Base"
154
156
ckpt_step = 1200000
155
157
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
157
159
vocoder ,
158
160
)
159
161
Original file line number Diff line number Diff line change 1
1
[project ]
2
2
name = " comfyui-f5-tts"
3
3
description = " Text to speech with F5-TTS"
4
- version = " 1.0.16 "
4
+ version = " 1.0.17 "
5
5
license = {text = " MIT License" }
6
6
7
7
[project .urls ]
You can’t perform that action at this time.
0 commit comments