Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -281,9 +281,10 @@ def transcribe_punjabi_eng_model_30000(speech):
|
|
281 |
sentence = trn.transform(text)
|
282 |
if sentence is None:
|
283 |
return "Error: Transliteration returned None"
|
284 |
-
replaced_words = replace_words(sentence)
|
285 |
-
processed_sentence = process_doubles(replaced_words)
|
286 |
-
return process_transcription(processed_sentence)
|
|
|
287 |
|
288 |
###########################################
|
289 |
def transcribe_odiya(speech):
|
|
|
281 |
sentence = trn.transform(text)
|
282 |
if sentence is None:
|
283 |
return "Error: Transliteration returned None"
|
284 |
+
#replaced_words = replace_words(sentence)
|
285 |
+
#processed_sentence = process_doubles(replaced_words)
|
286 |
+
#return process_transcription(processed_sentence)
|
287 |
+
return sentence
|
288 |
|
289 |
###########################################
|
290 |
def transcribe_odiya(speech):
|