Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -267,6 +267,7 @@ def process_transcription(input_sentence):
|
|
267 |
|
268 |
def transcribe_punjabi_30000(speech):
|
269 |
text = punjaib_modle_30000(speech)["text"]
|
|
|
270 |
if text is None:
|
271 |
return "Error: ASR returned None"
|
272 |
return text
|
|
|
267 |
|
268 |
def transcribe_punjabi_30000(speech):
|
269 |
text = punjaib_modle_30000(speech)["text"]
|
270 |
+
text = text.replace("[PAD]","")
|
271 |
if text is None:
|
272 |
return "Error: ASR returned None"
|
273 |
return text
|