app.py
CHANGED
@@ -46,7 +46,9 @@ def parse(wav_file, applyLM):
|
|
46 |
return parse_transcription(logits)
|
47 |
|
48 |
|
49 |
-
model_id = "infinitejoy/wav2vec2-large-xls-r-300m-odia"
|
|
|
|
|
50 |
processor = Wav2Vec2Processor.from_pretrained(model_id)
|
51 |
processor_with_LM = Wav2Vec2ProcessorWithLM.from_pretrained(model_id)
|
52 |
model = Wav2Vec2ForCTC.from_pretrained(model_id)
|
|
|
46 |
return parse_transcription(logits)
|
47 |
|
48 |
|
49 |
+
# model_id = "infinitejoy/wav2vec2-large-xls-r-300m-odia"
|
50 |
+
model_id = "Harveenchadha/odia_large_wav2vec2"
|
51 |
+
|
52 |
processor = Wav2Vec2Processor.from_pretrained(model_id)
|
53 |
processor_with_LM = Wav2Vec2ProcessorWithLM.from_pretrained(model_id)
|
54 |
model = Wav2Vec2ForCTC.from_pretrained(model_id)
|