diff --git a/crates/service/job/inference_job/src/job/job_types/tts/styletts2/process_job_create_voice.rs b/crates/service/job/inference_job/src/job/job_types/tts/styletts2/process_job_create_voice.rs index 3c890b3cea..f6ef449880 100644 --- a/crates/service/job/inference_job/src/job/job_types/tts/styletts2/process_job_create_voice.rs +++ b/crates/service/job/inference_job/src/job/job_types/tts/styletts2/process_job_create_voice.rs @@ -160,7 +160,7 @@ pub async fn process_create_voice( // TODO(KS): This is a hack to get only the first file to download // Ideally we could have improved logic to pick the "best" media file from a dataset - if (index > 0) { + if (index >= 0) { break; } }