arslanarjumand
commited on
Commit
•
bc1c357
1
Parent(s):
4504857
Update logic.py
Browse files
logic.py
CHANGED
@@ -19,7 +19,7 @@ def score_audio(audio_path, true_result):
|
|
19 |
|
20 |
|
21 |
result = {'transcription': transcription,
|
22 |
-
'score': int(any([x in transcription for x in true_result])),
|
23 |
}
|
24 |
return result
|
25 |
|
|
|
19 |
|
20 |
|
21 |
result = {'transcription': transcription,
|
22 |
+
'score': int(any([x.lower() in transcription for x in true_result])),
|
23 |
}
|
24 |
return result
|
25 |
|