Spaces:
Running
Running
alibabasglab
commited on
Commit
•
2002509
1
Parent(s):
4c70144
Update scores/stoi.py
Browse files- scores/stoi.py +1 -1
scores/stoi.py
CHANGED
@@ -10,7 +10,7 @@ class STOI(ScoreBasis):
|
|
10 |
def windowed_scoring(self, audios, score_rate):
|
11 |
from pystoi.stoi import stoi
|
12 |
if len(audios) != 2:
|
13 |
-
|
14 |
|
15 |
return stoi(audios[1], audios[0], score_rate, extended=False)
|
16 |
|
|
|
10 |
def windowed_scoring(self, audios, score_rate):
|
11 |
from pystoi.stoi import stoi
|
12 |
if len(audios) != 2:
|
13 |
+
return None
|
14 |
|
15 |
return stoi(audios[1], audios[0], score_rate, extended=False)
|
16 |
|