To set up and run this project, ensure that you have the following tools installed:
- Python: Version 3.9 or newer
- Node.js: Version ^18.19.1, ^20.11.1, or ^22.0.0
- Angular CLI (optional): Version 19.x or newer
Note: Angular CLI is optional, as the project can be run using
npx
without requiring a global installation of Angular CLI.
git clone https://github.com/PT00/Music-Genre-Classifier.git
cd Music-Genre-Classifier/backend
python3 -m venv .venv
or
python -m venv .venv
source .venv/bin/activate
.venv\Scripts\activate
pip install -r requirements.txt
uvicorn main:app --reload --host 127.0.0.1 --port 8000
cd Music-Genre-Classifier/frontend/mgc-client
npm install
npx ng serve