Skip to content

Commit

Permalink
Removed Python 3.9 support, fixed bug with CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
beveradb committed Jul 20, 2024
1 parent 8b0d9b0 commit 403cae6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ output_file_paths_6 = separator.separate('audio3.wav')
## Requirements 📋
Python >= 3.9
Python >= 3.10
Libraries: torch, onnx, onnxruntime, numpy, librosa, requests, six, tqdm, pydub
Expand All @@ -271,7 +271,7 @@ This project uses Poetry for dependency management and packaging. Follow these s
### Prerequisites
- Make sure you have Python 3.9 or newer installed on your machine.
- Make sure you have Python 3.10 or newer installed on your machine.
- Install Conda (I recommend Miniforge: <https://github.com/conda-forge/miniforge>) to manage your Python virtual environments
### Clone the Repository
Expand Down
6 changes: 3 additions & 3 deletions audio_separator/utils/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,12 @@ def main():
logger.info(f"Model {args.model_filename} downloaded successfully.")
sys.exit(0)

logger.info(f"Separator version {package_version} beginning with input file: {args.audio_file}")

if not hasattr(args, "audio_file"):
parser.print_help()
sys.exit(1)


logger.info(f"Separator version {package_version} beginning with input file: {args.audio_file}")

separator = Separator(
log_formatter=log_formatter,
log_level=log_level,
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "audio-separator"
version = "0.18.0"
version = "0.18.1"
description = "Easy to use audio stem separation, using various models from UVR trained primarily by @Anjok07"
authors = ["Andrew Beveridge <[email protected]>"]
license = "MIT"
Expand All @@ -22,13 +22,12 @@ classifiers = [
"Intended Audience :: Science/Research",
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Sound/Audio :: Mixers",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]

[tool.poetry.dependencies]
python = ">=3.9"
python = ">=3.10"
requests = ">=2"
numpy = ">=1.23"
librosa = ">=0.10"
Expand Down

0 comments on commit 403cae6

Please sign in to comment.