From c65bcef4c0e3f623b89276f12f1c4f4daead2f1d Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Thu, 5 Sep 2024 00:48:05 -0400 Subject: [PATCH] fix rvc job config --- .../job/inference_job/src/state/job_specific_dependencies.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/service/job/inference_job/src/state/job_specific_dependencies.rs b/crates/service/job/inference_job/src/state/job_specific_dependencies.rs index a2e22cdcde..f10e4690b2 100644 --- a/crates/service/job/inference_job/src/state/job_specific_dependencies.rs +++ b/crates/service/job/inference_job/src/state/job_specific_dependencies.rs @@ -71,7 +71,9 @@ impl JobSpecificDependencies { maybe_gpt_sovits_dependencies = Some(GptSovitsDependencies::setup()?); } - if scoped_model_type_execution.can_run_job(InferenceModelType::RvcV2) { + if scoped_model_type_execution.can_run_job(InferenceModelType::RvcV2) + || scoped_job_type_execution.can_run_job(InferenceJobType::RvcV2) + { print_with_space("Setting RVCv2 dependencies..."); maybe_rvc_v2_dependencies = Some(RvcV2Dependencies::setup()?); }