Skip to content

Commit

Permalink
✨ feat: 伴奏提取默认关闭降噪
Browse files Browse the repository at this point in the history
  • Loading branch information
nichuanfang committed Oct 13, 2023
1 parent 534d8c7 commit 6b02eac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mk/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,9 @@ def extract_accompaniment(mp3path:str,model_name:str=None):
with console.status("[bold green]提取伴奏中...") as status:
try:
if model_name == None:
command = f'audio-separator --model_name="UVR_MDXNET_Main" --output_format=MP3 --single_stem=instrumental "{mp3path}"'
command = f'audio-separator --model_name="UVR_MDXNET_Main" --denoise=False --output_format=MP3 --single_stem=instrumental "{mp3path}"'
elif model_name in SUPPORT_MODELS:
command = f'audio-separator --model_name={model_name} --output_format=MP3 --single_stem=instrumental "{mp3path}"'
command = f'audio-separator --model_name={model_name} --denoise=False --output_format=MP3 --single_stem=instrumental "{mp3path}"'
else:
print('不支持的模型!')
return
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setup(
name='music-tool-kit',
version='0.6.6',
version='0.6.7',
description='A tool kit for music download and clip',
long_description_content_type='text/markdown',
long_description=readme,
Expand Down

0 comments on commit 6b02eac

Please sign in to comment.