Spaces:
Running
Running
alibabasglab
commited on
Commit
•
7cec2b9
1
Parent(s):
09a4143
Update speechscore.py
Browse files- speechscore.py +1 -1
speechscore.py
CHANGED
@@ -62,7 +62,7 @@ class ScoresList:
|
|
62 |
if sr != 16000:
|
63 |
audio = resampy.resample(audio, sr, 16000, axis=0)
|
64 |
data = {}
|
65 |
-
data['audio'] = audio
|
66 |
data['rate'] = 16000
|
67 |
|
68 |
for score in self.scores:
|
|
|
62 |
if sr != 16000:
|
63 |
audio = resampy.resample(audio, sr, 16000, axis=0)
|
64 |
data = {}
|
65 |
+
data['audio'] = [audio]
|
66 |
data['rate'] = 16000
|
67 |
|
68 |
for score in self.scores:
|