mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-19 01:05:09 +02:00
clamp music duration
This commit is contained in:
@@ -746,6 +746,7 @@ std::string acestep_generate_audio(const music_generation_inputs inputs)
|
||||
}
|
||||
req.thinking = false;
|
||||
req.inference_steps = (req.inference_steps>100?100:req.inference_steps); //clamp to 100
|
||||
req.duration = (req.duration>420?420:req.duration); //clamp to 7 min
|
||||
|
||||
const int FRAMES_PER_SECOND = 25;
|
||||
int Oc = music_dit_cfg.out_channels; // 64
|
||||
|
||||
Reference in New Issue
Block a user