Skip to content

High-Quality Voice Cloning TTS for 600+ Languages

Python

fix unmask schedule

Han Zhud8ab65f93a69
diff --git a/omnivoice/models/omnivoice.py b/omnivoice/models/omnivoice.py
index 508182a..717e53b 100644
--- a/omnivoice/models/omnivoice.py
+++ b/omnivoice/models/omnivoice.py
@@ -1213,7 +1213,7 @@ class OmniVoice(PreTrainedModel):
timesteps = _get_time_steps(
t_start=0.0,
t_end=1.0,
- num_step=gen_config.num_step + 1,
+ num_step=gen_config.num_step,
t_shift=gen_config.t_shift,
).tolist()
schedules = []