Harveenchadha
commited on
Commit
•
07d59d1
1
Parent(s):
a958451
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def parse_transcription_with_lm(wav_file):
|
|
49 |
|
50 |
result = processor_with_LM.batch_decode(logits.cpu().numpy())
|
51 |
text = result.text
|
52 |
-
transcription = text[0]
|
53 |
return transcription
|
54 |
|
55 |
|
|
|
49 |
|
50 |
result = processor_with_LM.batch_decode(logits.cpu().numpy())
|
51 |
text = result.text
|
52 |
+
transcription = text[0].replace('<s>','')
|
53 |
return transcription
|
54 |
|
55 |
|