Spaces:
Running
Running
alibabasglab
commited on
Commit
•
10306e3
1
Parent(s):
c07bd3d
Update scores/csig.py
Browse files- scores/csig.py +1 -1
scores/csig.py
CHANGED
@@ -10,7 +10,7 @@ class CSIG(ScoreBasis):
|
|
10 |
|
11 |
def windowed_scoring(self, audios, score_rate):
|
12 |
if len(audios) != 2:
|
13 |
-
|
14 |
return cal_CSIG(audios[0], audios[1], score_rate)
|
15 |
|
16 |
def cal_CSIG(target_wav, pred_wav, fs):
|
|
|
10 |
|
11 |
def windowed_scoring(self, audios, score_rate):
|
12 |
if len(audios) != 2:
|
13 |
+
return None
|
14 |
return cal_CSIG(audios[0], audios[1], score_rate)
|
15 |
|
16 |
def cal_CSIG(target_wav, pred_wav, fs):
|