Python
change ace step default duration
DeepBeepMeepb912e40e8c65
diff --git a/defaults/ace_step_v1_5.json b/defaults/ace_step_v1_5.jsonindex abebfc0..ca8dac5 100644--- a/defaults/ace_step_v1_5.json+++ b/defaults/ace_step_v1_5.json@@ -15,7 +15,7 @@"alt_prompt": "Dreamy synth-pop with shimmering pads, soft vocals, and a slow dance groove.","audio_prompt_type": "","audio_scale": 0.5,- "duration_seconds": 120,+ "duration_seconds": 60,"num_inference_steps": 8,"shift": 1.0,"guidance_scale": 1.0,diff --git a/defaults/ace_step_v1_5_turbo_lm_0_6b.json b/defaults/ace_step_v1_5_turbo_lm_0_6b.jsonindex 57e8631..266ad53 100644--- a/defaults/ace_step_v1_5_turbo_lm_0_6b.json+++ b/defaults/ace_step_v1_5_turbo_lm_0_6b.json@@ -15,7 +15,7 @@"alt_prompt": "Dreamy synth-pop with shimmering pads, soft vocals, and a slow dance groove.","audio_prompt_type": "","audio_scale": 0.5,- "duration_seconds": 120,+ "duration_seconds": 60,"num_inference_steps": 8,"shift": 1.0,"guidance_scale": 1.0,diff --git a/defaults/ace_step_v1_5_turbo_lm_1_7b.json b/defaults/ace_step_v1_5_turbo_lm_1_7b.jsonindex 1916afa..ac3ca06 100644--- a/defaults/ace_step_v1_5_turbo_lm_1_7b.json+++ b/defaults/ace_step_v1_5_turbo_lm_1_7b.json@@ -16,7 +16,7 @@"alt_prompt": "Dreamy synth-pop with shimmering pads, soft vocals, and a slow dance groove.","audio_prompt_type": "","audio_scale": 0.5,- "duration_seconds": 120,+ "duration_seconds": 60,"num_inference_steps": 8,"shift": 1.0,"guidance_scale": 1.0,diff --git a/defaults/ace_step_v1_5_turbo_lm_4b.json b/defaults/ace_step_v1_5_turbo_lm_4b.jsonindex 502da1f..6f64ea4 100644--- a/defaults/ace_step_v1_5_turbo_lm_4b.json+++ b/defaults/ace_step_v1_5_turbo_lm_4b.json@@ -16,7 +16,7 @@"alt_prompt": "Dreamy synth-pop with shimmering pads, soft vocals, and a slow dance groove.","audio_prompt_type": "","audio_scale": 0.5,- "duration_seconds": 120,+ "duration_seconds": 60,"num_inference_steps": 8,"shift": 1.0,"guidance_scale": 1.0,diff --git a/models/TTS/ace_step_handler.py b/models/TTS/ace_step_handler.pyindex 7ac5c06..c5d7ffe 100644--- a/models/TTS/ace_step_handler.py+++ b/models/TTS/ace_step_handler.py@@ -438,7 +438,7 @@ class family_handler:"temperature": 1.0,"guidance_scale": 1.0,"multi_prompts_gen_type": 2,- "audio_scale": 1.0,+ "audio_scale": 0.5,})return