app.py
CHANGED
@@ -46,7 +46,7 @@ def parse(wav_file, applyLM):
|
|
46 |
return parse_transcription(logits)
|
47 |
|
48 |
|
49 |
-
model_id = "
|
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 |
processor = Wav2Vec2Processor.from_pretrained(model_id)
|
51 |
processor_with_LM = Wav2Vec2ProcessorWithLM.from_pretrained(model_id)
|
52 |
model = Wav2Vec2ForCTC.from_pretrained(model_id)
|