Harveenchadha
commited on
Commit
•
975c18c
1
Parent(s):
5b6d82c
Update app.py
Browse files
app.py
CHANGED
@@ -41,9 +41,9 @@ def parse(wav_file, applyLM):
|
|
41 |
logits = model(**input_values).logits
|
42 |
|
43 |
if applyLM:
|
44 |
-
return parse_transcription_with_lm(
|
45 |
else:
|
46 |
-
return parse_transcription(
|
47 |
|
48 |
|
49 |
model_id = "Harveenchadha/vakyansh-wav2vec2-hindi-him-4200"
|
|
|
41 |
logits = model(**input_values).logits
|
42 |
|
43 |
if applyLM:
|
44 |
+
return parse_transcription_with_lm(logits)
|
45 |
else:
|
46 |
+
return parse_transcription(logits)
|
47 |
|
48 |
|
49 |
model_id = "Harveenchadha/vakyansh-wav2vec2-hindi-him-4200"
|