Spaces:
Runtime error
Runtime error
Sync from GitHub repo
Browse filesThis Space is synced from the GitHub repo: https://github.com/SWivid/F5-TTS. Please submit contributions to the Space there
- README_REPO.md +1 -1
- src/f5_tts/train/finetune_gradio.py +2 -2
README_REPO.md
CHANGED
|
@@ -72,7 +72,7 @@ Currently supported features:
|
|
| 72 |
- Basic TTS with Chunk Inference
|
| 73 |
- Multi-Style / Multi-Speaker Generation
|
| 74 |
- Voice Chat powered by Qwen2.5-3B-Instruct
|
| 75 |
-
- [Custom model](src/f5_tts/infer/SHARED.md)
|
| 76 |
|
| 77 |
```bash
|
| 78 |
# Launch a Gradio app (web interface)
|
|
|
|
| 72 |
- Basic TTS with Chunk Inference
|
| 73 |
- Multi-Style / Multi-Speaker Generation
|
| 74 |
- Voice Chat powered by Qwen2.5-3B-Instruct
|
| 75 |
+
- [Custom model inference with more language support](src/f5_tts/infer/SHARED.md) (local Gradio only)
|
| 76 |
|
| 77 |
```bash
|
| 78 |
# Launch a Gradio app (web interface)
|
src/f5_tts/train/finetune_gradio.py
CHANGED
|
@@ -44,7 +44,7 @@ last_ema = None
|
|
| 44 |
|
| 45 |
path_data = str(files("f5_tts").joinpath("../../data"))
|
| 46 |
path_project_ckpts = str(files("f5_tts").joinpath("../../ckpts"))
|
| 47 |
-
file_train = "
|
| 48 |
|
| 49 |
device = "cuda" if torch.cuda.is_available() else "mps" if torch.backends.mps.is_available() else "cpu"
|
| 50 |
|
|
@@ -1179,7 +1179,7 @@ def get_random_sample_transcribe(project_name):
|
|
| 1179 |
continue
|
| 1180 |
|
| 1181 |
# fixed audio when it is absolute
|
| 1182 |
-
file_audio = get_correct_audio_path(sp[0], path_project)
|
| 1183 |
list_data.append([file_audio, sp[1]])
|
| 1184 |
|
| 1185 |
if list_data == []:
|
|
|
|
| 44 |
|
| 45 |
path_data = str(files("f5_tts").joinpath("../../data"))
|
| 46 |
path_project_ckpts = str(files("f5_tts").joinpath("../../ckpts"))
|
| 47 |
+
file_train = str(files("f5_tts").joinpath("train/finetune_cli.py"))
|
| 48 |
|
| 49 |
device = "cuda" if torch.cuda.is_available() else "mps" if torch.backends.mps.is_available() else "cpu"
|
| 50 |
|
|
|
|
| 1179 |
continue
|
| 1180 |
|
| 1181 |
# fixed audio when it is absolute
|
| 1182 |
+
file_audio = get_correct_audio_path(sp[0], os.path.join(path_project, "wavs"))
|
| 1183 |
list_data.append([file_audio, sp[1]])
|
| 1184 |
|
| 1185 |
if list_data == []:
|