Spaces:
Running
Running
Update scores/pesq.py
Browse files- scores/pesq.py +1 -1
scores/pesq.py
CHANGED
@@ -10,6 +10,6 @@ class PESQ(ScoreBasis):
|
|
10 |
def windowed_scoring(self, audios, rate):
|
11 |
from pesq import pesq
|
12 |
if len(audios) != 2:
|
13 |
-
|
14 |
return pesq(rate, audios[1], audios[0], 'wb')
|
15 |
|
|
|
10 |
def windowed_scoring(self, audios, rate):
|
11 |
from pesq import pesq
|
12 |
if len(audios) != 2:
|
13 |
+
return None
|
14 |
return pesq(rate, audios[1], audios[0], 'wb')
|
15 |
|