cdactvm commited on
Commit
ed68cbd
1 Parent(s): 1847b74

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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/w2v-bert-2.0-hindi_old")
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])}