We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15adc68 commit 4e75142Copy full SHA for 4e75142
src/asr/fairseq_mms/local/model.py
@@ -31,5 +31,7 @@ async def inference(self, request: ModelRequest):
31
32
ids = torch.argmax(outputs, dim=-1)[0]
33
transcription = self.processor.decode(ids)
34
+ if transcription == '':
35
+ transcription = 'ଦୟାକରି ପୁଣିଥରେ ଚେଷ୍ଟା କରନ୍ତୁ'
36
- return transcription
37
+ return transcription
0 commit comments