Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,10 +10,10 @@ import torchaudio
|
|
10 |
|
11 |
|
12 |
# Initialize the speech recognition pipeline and transliterator
|
13 |
-
pipe = pipeline(task="automatic-speech-recognition", model="cdactvm/w2v-bert-2.0-odia_v1")
|
14 |
-
trn = Transliterator(source='ori', target='eng', build_lookup=True)
|
15 |
os.system('git clone https://github.com/irshadbhat/indic-trans.git')
|
16 |
os.system('pip install ./indic-trans/.')
|
|
|
|
|
17 |
|
18 |
p1 = pipeline(task="automatic-speech-recognition", model="cdactvm/w2v-bert-2.0-odia_v1")
|
19 |
p2 = pipeline(task="automatic-speech-recognition", model="cdactvm/w2v-bert-2.0-hindi_v1")
|
|
|
10 |
|
11 |
|
12 |
# Initialize the speech recognition pipeline and transliterator
|
|
|
|
|
13 |
os.system('git clone https://github.com/irshadbhat/indic-trans.git')
|
14 |
os.system('pip install ./indic-trans/.')
|
15 |
+
pipe = pipeline(task="automatic-speech-recognition", model="cdactvm/w2v-bert-2.0-odia_v1")
|
16 |
+
trn = Transliterator(source='ori', target='eng', build_lookup=True)
|
17 |
|
18 |
p1 = pipeline(task="automatic-speech-recognition", model="cdactvm/w2v-bert-2.0-odia_v1")
|
19 |
p2 = pipeline(task="automatic-speech-recognition", model="cdactvm/w2v-bert-2.0-hindi_v1")
|