Update README.md
Browse files
README.md
CHANGED
|
@@ -60,16 +60,5 @@ The model is trained to classify audio into one of the following 10 categories:
|
|
| 60 |
|
| 61 |
## How to Use
|
| 62 |
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
```python
|
| 66 |
-
from transformers import pipeline
|
| 67 |
-
|
| 68 |
-
# Load the model and preprocessor
|
| 69 |
-
classifier = pipeline("audio-classification", model="afloven/messymashupclassifier")
|
| 70 |
-
|
| 71 |
-
# Predict the genre of an audio file
|
| 72 |
-
# Make sure your audio is sampled at 16,000 Hz
|
| 73 |
-
results = classifier("path_to_your_audio_file.wav")
|
| 74 |
-
|
| 75 |
-
print(results)
|
|
|
|
| 60 |
|
| 61 |
## How to Use
|
| 62 |
|
| 63 |
+
Visit my huggingfaces spaces where you can check what genre your .wav file is!
|
| 64 |
+
[click here!](https://huggingface.co/spaces/afloven/messymashupclassification-demo)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|