Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ from convert2list import convert_to_list
|
|
17 |
from processDoubles import process_doubles
|
18 |
from replaceWords import replace_words
|
19 |
|
20 |
-
|
21 |
# processor = AutoProcessor.from_pretrained("cdactvm/w2v-bert-2.0-hindi_v1")
|
22 |
|
23 |
# vocab_dict = processor.tokenizer.get_vocab()
|
|
|
17 |
from processDoubles import process_doubles
|
18 |
from replaceWords import replace_words
|
19 |
|
20 |
+
transcriber = pipeline(task="automatic-speech-recognition", model="cdactvm/w2v-bert-2.0-hindi_v1")
|
21 |
# processor = AutoProcessor.from_pretrained("cdactvm/w2v-bert-2.0-hindi_v1")
|
22 |
|
23 |
# vocab_dict = processor.tokenizer.get_vocab()
|