Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ def parse(wav_file):
|
|
44 |
# model_id = "Harveenchadha/odia_large_wav2vec2"
|
45 |
|
46 |
# It worked when first run but after that getting error
|
47 |
-
|
48 |
|
49 |
# model_id = "theainerd/wav2vec2-large-xlsr-53-odia"
|
50 |
|
@@ -55,7 +55,7 @@ def parse(wav_file):
|
|
55 |
# model_id = "theainerd/wav2vec2-large-xlsr-53-odia"
|
56 |
|
57 |
# This is hindi
|
58 |
-
model_id = "Harveenchadha/vakyansh-wav2vec2-hindi-him-4200"
|
59 |
|
60 |
processor = Wav2Vec2Processor.from_pretrained(model_id)
|
61 |
model = Wav2Vec2ForCTC.from_pretrained(model_id)
|
|
|
44 |
# model_id = "Harveenchadha/odia_large_wav2vec2"
|
45 |
|
46 |
# It worked when first run but after that getting error
|
47 |
+
model_id = "anuragshas/wav2vec2-large-xlsr-53-odia"
|
48 |
|
49 |
# model_id = "theainerd/wav2vec2-large-xlsr-53-odia"
|
50 |
|
|
|
55 |
# model_id = "theainerd/wav2vec2-large-xlsr-53-odia"
|
56 |
|
57 |
# This is hindi
|
58 |
+
# model_id = "Harveenchadha/vakyansh-wav2vec2-hindi-him-4200"
|
59 |
|
60 |
processor = Wav2Vec2Processor.from_pretrained(model_id)
|
61 |
model = Wav2Vec2ForCTC.from_pretrained(model_id)
|