Spaces:
Running
Running
Update scores/cbak.py
Browse files- scores/cbak.py +1 -1
scores/cbak.py
CHANGED
|
@@ -11,7 +11,7 @@ class CBAK(ScoreBasis):
|
|
| 11 |
|
| 12 |
def windowed_scoring(self, audios, score_rate):
|
| 13 |
if len(audios) != 2:
|
| 14 |
-
|
| 15 |
return cal_CBAK(audios[0], audios[1], score_rate)
|
| 16 |
|
| 17 |
def cal_CBAK(target_wav, pred_wav, fs):
|
|
|
|
| 11 |
|
| 12 |
def windowed_scoring(self, audios, score_rate):
|
| 13 |
if len(audios) != 2:
|
| 14 |
+
return None
|
| 15 |
return cal_CBAK(audios[0], audios[1], score_rate)
|
| 16 |
|
| 17 |
def cal_CBAK(target_wav, pred_wav, fs):
|