Spaces:
Running
on
Zero
Running
on
Zero
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
- pyproject.toml +1 -1
- src/f5_tts/model/trainer.py +1 -0
pyproject.toml
CHANGED
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
4 |
|
5 |
[project]
|
6 |
name = "f5-tts"
|
7 |
-
version = "1.0.
|
8 |
description = "F5-TTS: A Fairytaler that Fakes Fluent and Faithful Speech with Flow Matching"
|
9 |
readme = "README.md"
|
10 |
license = {text = "MIT License"}
|
|
|
4 |
|
5 |
[project]
|
6 |
name = "f5-tts"
|
7 |
+
version = "1.0.8"
|
8 |
description = "F5-TTS: A Fairytaler that Fakes Fluent and Faithful Speech with Flow Matching"
|
9 |
readme = "README.md"
|
10 |
license = {text = "MIT License"}
|
src/f5_tts/model/trainer.py
CHANGED
@@ -428,6 +428,7 @@ class Trainer:
|
|
428 |
torchaudio.save(
|
429 |
f"{log_samples_path}/update_{global_update}_ref.wav", ref_audio, target_sample_rate
|
430 |
)
|
|
|
431 |
|
432 |
if global_update % self.last_per_updates == 0 and self.accelerator.sync_gradients:
|
433 |
self.save_checkpoint(global_update, last=True)
|
|
|
428 |
torchaudio.save(
|
429 |
f"{log_samples_path}/update_{global_update}_ref.wav", ref_audio, target_sample_rate
|
430 |
)
|
431 |
+
self.model.train()
|
432 |
|
433 |
if global_update % self.last_per_updates == 0 and self.accelerator.sync_gradients:
|
434 |
self.save_checkpoint(global_update, last=True)
|