Spaces:
Runtime error
Runtime error
updated model
Browse files
app.py
CHANGED
@@ -46,9 +46,14 @@ def parse(wav_file, applyLM):
|
|
46 |
return parse_transcription(logits)
|
47 |
|
48 |
|
49 |
-
processor = Wav2Vec2Processor.from_pretrained("Harveenchadha/vakyansh-wav2vec2-odia-orm-100")
|
50 |
-
processor_with_LM = Wav2Vec2ProcessorWithLM.from_pretrained("Harveenchadha/vakyansh-wav2vec2-odia-orm-100")
|
51 |
-
model = Wav2Vec2ForCTC.from_pretrained("Harveenchadha/vakyansh-wav2vec2-odia-orm-100")
|
|
|
|
|
|
|
|
|
|
|
52 |
|
53 |
processor = AutoProcessor.from_pretrained
|
54 |
|
|
|
46 |
return parse_transcription(logits)
|
47 |
|
48 |
|
49 |
+
# processor = Wav2Vec2Processor.from_pretrained("Harveenchadha/vakyansh-wav2vec2-odia-orm-100")
|
50 |
+
# processor_with_LM = Wav2Vec2ProcessorWithLM.from_pretrained("Harveenchadha/vakyansh-wav2vec2-odia-orm-100")
|
51 |
+
# model = Wav2Vec2ForCTC.from_pretrained("Harveenchadha/vakyansh-wav2vec2-odia-orm-100")
|
52 |
+
|
53 |
+
|
54 |
+
processor = Wav2Vec2Processor.from_pretrained("Harveenchadha/odia_large_wav2vec2")
|
55 |
+
processor_with_LM = Wav2Vec2ProcessorWithLM.from_pretrained("Harveenchadha/odia_large_wav2vec2")
|
56 |
+
model = Wav2Vec2ForCTC.from_pretrained("Harveenchadha/odia_large_wav2vec2")
|
57 |
|
58 |
processor = AutoProcessor.from_pretrained
|
59 |
|