Skip to content

Commit

Permalink
Fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
jhj0517 committed Nov 29, 2024
1 parent 1bca692 commit 9a34059
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/routers/bgm_separation/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"],
Expand Down

0 comments on commit 9a34059

Please sign in to comment.