Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,9 +6,7 @@ import os
|
|
| 6 |
import re
|
| 7 |
#import torchaudio
|
| 8 |
|
| 9 |
-
|
| 10 |
# Initialize the speech recognition pipeline and transliterator
|
| 11 |
-
|
| 12 |
p1 = pipeline(task="automatic-speech-recognition", model="cdactvm/w2v-bert-2.0-odia_v1")
|
| 13 |
p2 = pipeline(task="automatic-speech-recognition", model="cdactvm/w2v-bert-2.0-hindi_v1")
|
| 14 |
p3 = pipeline(task="automatic-speech-recognition", model="cdactvm/kannada_w2v-bert_model")
|
|
|
|
| 6 |
import re
|
| 7 |
#import torchaudio
|
| 8 |
|
|
|
|
| 9 |
# Initialize the speech recognition pipeline and transliterator
|
|
|
|
| 10 |
p1 = pipeline(task="automatic-speech-recognition", model="cdactvm/w2v-bert-2.0-odia_v1")
|
| 11 |
p2 = pipeline(task="automatic-speech-recognition", model="cdactvm/w2v-bert-2.0-hindi_v1")
|
| 12 |
p3 = pipeline(task="automatic-speech-recognition", model="cdactvm/kannada_w2v-bert_model")
|