From 9a340596a29a37330af93efab496dcac3f9278f4 Mon Sep 17 00:00:00 2001 From: jhj0517 <97279763+jhj0517@users.noreply.github.com> Date: Fri, 29 Nov 2024 23:57:24 +0900 Subject: [PATCH] Fix path --- backend/routers/bgm_separation/router.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/routers/bgm_separation/router.py b/backend/routers/bgm_separation/router.py index 21ae26f..252e49d 100644 --- a/backend/routers/bgm_separation/router.py +++ b/backend/routers/bgm_separation/router.py @@ -9,6 +9,7 @@ from fastapi.responses import FileResponse from typing import List, Dict, Tuple from datetime import datetime +import os from modules.whisper.data_classes import * from modules.uvr.music_separator import MusicSeparator @@ -29,7 +30,7 @@ def get_bgm_separation_inferencer() -> 'MusicSeparator': config = load_server_config()["bgm_separation"] inferencer = MusicSeparator( - output_dir=BACKEND_CACHE_DIR + output_dir=os.path.join(BACKEND_CACHE_DIR, "UVR") ) inferencer.update_model( model_name=config["model_size"],