Update F5 to use new models & Inference

Adds the new F5 models
Updates inference code
Sets speed to 1 (when not specified)
This commit is contained in:
erew123 authored and GitHub committed 2025-04-09 09:23:38 +01:00
1 parent 947c4343d7
commit 35dcd9710c
3 files changed
+111 -53

No files matched your search

@@ -1,19 +1,19 @@
{
"first_start_model": "f5tts_v1",
"first_start_model": "f5tts_v1a",
"models": [
{
"model_name": "f5tts_v1",
"folder_path": "f5tts_v1",
"model_name": "f5tts_v1a",
"folder_path": "f5tts_v1a",
"files_to_download": {
"model_1200000.safetensors": "https://huggingface.co/SWivid/F5-TTS/resolve/main/F5TTS_Base/model_1200000.safetensors",
"model_1250000.safetensors": "https://huggingface.co/SWivid/F5-TTS/resolve/main/F5TTS_v1_Base/model_1250000.safetensors",
"vocab.txt": "https://raw.githubusercontent.com/SWivid/F5-TTS/refs/heads/main/src/f5_tts/infer/examples/vocab.txt",
"vocos/config.yaml": "https://huggingface.co/charactr/vocos-mel-24khz/resolve/main/config.yaml",
"vocos/pytorch_model.bin": "https://huggingface.co/charactr/vocos-mel-24khz/resolve/main/pytorch_model.bin"
}
},
{
"model_name": "e2tts_v1",
"folder_path": "e2tts_v1",
"model_name": "e2tts_v1a",
"folder_path": "e2tts_v1a",
"files_to_download": {
"model_1200000.safetensors": "https://huggingface.co/SWivid/E2-TTS/resolve/main/E2TTS_Base/model_1200000.safetensors",
"vocab.txt": "https://raw.githubusercontent.com/SWivid/F5-TTS/refs/heads/main/src/f5_tts/infer/examples/vocab.txt",