Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -273,7 +273,7 @@ def transcribe_punjabi_30000(speech):
|
|
| 273 |
return text
|
| 274 |
|
| 275 |
def transcribe_punjabi_eng_model_30000(speech):
|
| 276 |
-
trn = Transliterator(source='
|
| 277 |
text = punjaib_modle_30000(speech)["text"]
|
| 278 |
text = text.replace("[PAD]","")
|
| 279 |
if text is None:
|
|
|
|
| 273 |
return text
|
| 274 |
|
| 275 |
def transcribe_punjabi_eng_model_30000(speech):
|
| 276 |
+
trn = Transliterator(source='pan', target='eng', build_lookup=True)
|
| 277 |
text = punjaib_modle_30000(speech)["text"]
|
| 278 |
text = text.replace("[PAD]","")
|
| 279 |
if text is None:
|