File size: 448 Bytes
8ad2ab3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

from .compute_vers_score import compute_vers_score
import whisper



whisper_model = whisper.load_model("base")

test_result = compute_vers_score(r"D:\Intern\shankh\audio_samples\obama_short.wav", whisper_model)

print("VERS Score:", test_result["VERS"])
print("ESS:", test_result["ESS"])
print("LCS:", test_result["LCS"])
print("SRS:", test_result["SRS"])
print("Insight:", test_result["insight"])
print("Transcript:", test_result["transcript"])