[project] name = "audiocraft-ui" version = "0.1.0" description = "Sophisticated AI audio web application based on Facebook's AudioCraft" readme = "README.md" license = { text = "MIT" } requires-python = ">=3.10" authors = [{ name = "AudioCraft UI Team" }] keywords = ["audio", "music", "generation", "ai", "audiocraft", "gradio"] classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Topic :: Multimedia :: Sound/Audio", "Topic :: Scientific/Engineering :: Artificial Intelligence", ] dependencies = [ # Core ML "torch>=2.1.0", "torchaudio>=2.1.0", "audiocraft>=1.3.0", "xformers>=0.0.22", # UI "gradio>=4.0.0", # API "fastapi>=0.104.0", "uvicorn[standard]>=0.24.0", "python-multipart>=0.0.6", # GPU Monitoring "pynvml>=11.5.0", # Storage "aiosqlite>=0.19.0", # Configuration "pydantic>=2.5.0", "pydantic-settings>=2.1.0", "pyyaml>=6.0", # Audio Processing "numpy>=1.24.0", "scipy>=1.11.0", "librosa>=0.10.0", "soundfile>=0.12.0", ] [project.optional-dependencies] dev = [ "pytest>=7.4.0", "pytest-asyncio>=0.21.0", "pytest-cov>=4.1.0", "ruff>=0.1.0", "mypy>=1.6.0", ] [project.scripts] audiocraft-ui = "src.main:main" [build-system] requires = ["hatchling"] build-backend = "hatchling.build" [tool.hatch.build.targets.wheel] packages = ["src"] [tool.ruff] line-length = 100 target-version = "py310" [tool.ruff.lint] select = ["E", "F", "I", "N", "W", "UP"] ignore = ["E501"] [tool.mypy] python_version = "3.10" warn_return_any = true warn_unused_configs = true ignore_missing_imports = true [tool.pytest.ini_options] asyncio_mode = "auto" testpaths = ["tests"]