Skip to content

Commit 403cae6

Browse files
committed
Removed Python 3.9 support, fixed bug with CLI
1 parent 8b0d9b0 commit 403cae6

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ output_file_paths_6 = separator.separate('audio3.wav')
261261
262262
## Requirements 📋
263263
264-
Python >= 3.9
264+
Python >= 3.10
265265
266266
Libraries: torch, onnx, onnxruntime, numpy, librosa, requests, six, tqdm, pydub
267267
@@ -271,7 +271,7 @@ This project uses Poetry for dependency management and packaging. Follow these s
271271
272272
### Prerequisites
273273
274-
- Make sure you have Python 3.9 or newer installed on your machine.
274+
- Make sure you have Python 3.10 or newer installed on your machine.
275275
- Install Conda (I recommend Miniforge: <https://github.com/conda-forge/miniforge>) to manage your Python virtual environments
276276
277277
### Clone the Repository

audio_separator/utils/cli.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,12 @@ def main():
139139
logger.info(f"Model {args.model_filename} downloaded successfully.")
140140
sys.exit(0)
141141

142-
logger.info(f"Separator version {package_version} beginning with input file: {args.audio_file}")
143-
144142
if not hasattr(args, "audio_file"):
145143
parser.print_help()
146144
sys.exit(1)
147-
145+
146+
logger.info(f"Separator version {package_version} beginning with input file: {args.audio_file}")
147+
148148
separator = Separator(
149149
log_formatter=log_formatter,
150150
log_level=log_level,

pyproject.toml

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "audio-separator"
7-
version = "0.18.0"
7+
version = "0.18.1"
88
description = "Easy to use audio stem separation, using various models from UVR trained primarily by @Anjok07"
99
authors = ["Andrew Beveridge <[email protected]>"]
1010
license = "MIT"
@@ -22,13 +22,12 @@ classifiers = [
2222
"Intended Audience :: Science/Research",
2323
"Topic :: Multimedia :: Sound/Audio",
2424
"Topic :: Multimedia :: Sound/Audio :: Mixers",
25-
"Programming Language :: Python :: 3.9",
2625
"Programming Language :: Python :: 3.10",
2726
"Programming Language :: Python :: 3.11",
2827
]
2928

3029
[tool.poetry.dependencies]
31-
python = ">=3.9"
30+
python = ">=3.10"
3231
requests = ">=2"
3332
numpy = ">=1.23"
3433
librosa = ">=0.10"

0 commit comments

Comments
 (0)