Update README.md
#4
by
marrnavarro
- opened
README.md
CHANGED
@@ -55,8 +55,9 @@ def predict(path, sampling_rate):
|
|
55 |
# prediction
|
56 |
~~~
|
57 |
# path for a sample
|
58 |
-
path = '/data/jtes_v1.1/wav/f01/ang/f01_ang_01.wav'
|
59 |
-
|
|
|
60 |
~~~
|
61 |
~~~
|
62 |
[{'Emotion': 'anger', 'Score': '78.3%'},
|
|
|
55 |
# prediction
|
56 |
~~~
|
57 |
# path for a sample
|
58 |
+
path = '/data/jtes_v1.1/wav/f01/ang/f01_ang_01.wav'
|
59 |
+
data, sampling_rate = librosa.load(path)
|
60 |
+
outputs = predict(data, sampling_rate)
|
61 |
~~~
|
62 |
~~~
|
63 |
[{'Emotion': 'anger', 'Score': '78.3%'},
|