Spaces:
Sleeping
Sleeping
Update app.py
#1
by
Sajjo
- opened
app.py
CHANGED
@@ -21,7 +21,7 @@ def transcribe_odiya_eng(speech):
|
|
21 |
from indictrans import Transliterator
|
22 |
trn = Transliterator(source='ori', target='eng', build_lookup=True)
|
23 |
text = p1(speech)["text"]
|
24 |
-
|
25 |
#text = master_function(text)
|
26 |
sentence = trn.transform(text)
|
27 |
replaced_words = replace_words(sentence)
|
|
|
21 |
from indictrans import Transliterator
|
22 |
trn = Transliterator(source='ori', target='eng', build_lookup=True)
|
23 |
text = p1(speech)["text"]
|
24 |
+
text=trn.transform(text)
|
25 |
#text = master_function(text)
|
26 |
sentence = trn.transform(text)
|
27 |
replaced_words = replace_words(sentence)
|