From 552fae54a740fda9f7eb2db7a163dec43535d9fd Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Fri, 28 Apr 2023 16:02:04 -0700 Subject: [PATCH] fix --- .../job_types/vc/so_vits_svc/so_vits_svc_inference_command.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/service/job/inference_job/src/job/job_types/vc/so_vits_svc/so_vits_svc_inference_command.rs b/crates/service/job/inference_job/src/job/job_types/vc/so_vits_svc/so_vits_svc_inference_command.rs index 9e3d56099e..e3c72d8ede 100644 --- a/crates/service/job/inference_job/src/job/job_types/vc/so_vits_svc/so_vits_svc_inference_command.rs +++ b/crates/service/job/inference_job/src/job/job_types/vc/so_vits_svc/so_vits_svc_inference_command.rs @@ -148,8 +148,8 @@ impl SoVitsSvcInferenceCommand { } if let Some(hubert_path) = maybe_hubert_path.as_deref() { - let cache_dir = cache_dir.to_string_lossy().to_string(); - docker_env_vars.push(DockerEnvVar::new("HUBERT_PATH", &cache_dir)); + let hubert_path = hubert_path.to_string_lossy().to_string(); + docker_env_vars.push(DockerEnvVar::new("HUBERT_PATH", &hubert_path)); } let maybe_environment_variables =