Update README.md
Browse files
README.md
CHANGED
@@ -48,6 +48,14 @@ It classifies if a audio has `rodela` in it.
|
|
48 |
|
49 |
It was designed for `Wake Word Detection`.
|
50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
|
52 |
## Training procedure
|
53 |
|
|
|
48 |
|
49 |
It was designed for `Wake Word Detection`.
|
50 |
|
51 |
+
## How to use
|
52 |
+
```python
|
53 |
+
# Use a pipeline as a high-level helper
|
54 |
+
from transformers import pipeline
|
55 |
+
|
56 |
+
pipe = pipeline("audio-classification", model="shhossain/wav2vec2-tiny-random-rodela-classifier")
|
57 |
+
piep("my_audio.mp3")
|
58 |
+
```
|
59 |
|
60 |
## Training procedure
|
61 |
|