File size: 1,109 Bytes
d73d931
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Healing Music Classifier

This is a machine learning model that predicts the healing potential of music tracks. The model analyzes various audio features to determine how likely a piece of music is to have healing properties.

## Model Details

- **Type**: Random Forest Classifier
- **Features**: MFCC, Spectral Features, Chroma Features
- **Input**: Audio file (MP3 or WAV format)
- **Output**: Healing probability score (0-1)

## Usage

```python
import joblib
from huggingface_hub import hf_hub_download

# Download model files
model_path = hf_hub_download(repo_id="healing-music-classifier", filename="models/model.joblib")
scaler_path = hf_hub_download(repo_id="healing-music-classifier", filename="models/scaler.joblib")

# Load model and scaler
model = joblib.load(model_path)
scaler = joblib.load(scaler_path)

# Use the model (after feature extraction)
# prediction = model.predict_proba(scaled_features)[0][1]
```

## Web Interface

You can try the model directly through our Streamlit interface at:
https://huggingface.co/spaces/[your-username]/healing-music-classifier

## License

MIT License