Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ from processDoubles import process_doubles
|
|
15 |
from replaceWords import replace_words
|
16 |
|
17 |
transcriber_hindi_new = pipeline(task="automatic-speech-recognition", model="cdactvm/w2v-bert-2.0-hindi_new")
|
18 |
-
transcriber_hindi_old = pipeline(task="automatic-speech-recognition", model="cdactvm/
|
19 |
processor = AutoProcessor.from_pretrained("cdactvm/w2v-bert-2.0-hindi_new")
|
20 |
vocab_dict = processor.tokenizer.get_vocab()
|
21 |
sorted_vocab_dict = {k.lower(): v for k, v in sorted(vocab_dict.items(), key=lambda item: item[1])}
|
|
|
15 |
from replaceWords import replace_words
|
16 |
|
17 |
transcriber_hindi_new = pipeline(task="automatic-speech-recognition", model="cdactvm/w2v-bert-2.0-hindi_new")
|
18 |
+
transcriber_hindi_old = pipeline(task="automatic-speech-recognition", model="cdactvm/huggingface-hindi_model")
|
19 |
processor = AutoProcessor.from_pretrained("cdactvm/w2v-bert-2.0-hindi_new")
|
20 |
vocab_dict = processor.tokenizer.get_vocab()
|
21 |
sorted_vocab_dict = {k.lower(): v for k, v in sorted(vocab_dict.items(), key=lambda item: item[1])}
|