Futuresony commited on
Commit
3dd81aa
·
verified ·
1 Parent(s): e758b0c

Update asr.py

Browse files
Files changed (1) hide show
  1. asr.py +1 -2
asr.py CHANGED
@@ -59,5 +59,4 @@ def transcribe_auto(audio_data=None):
59
  ids = torch.argmax(outputs, dim=-1)[0]
60
  final_transcription = processor.decode(ids)
61
 
62
- # return f"Detected Language: {detected_lang.upper()}\n\nTranscription:\n{final_transcription}"
63
- return f"{final_transcription}"
 
59
  ids = torch.argmax(outputs, dim=-1)[0]
60
  final_transcription = processor.decode(ids)
61
 
62
+ return f"{final_transcription}"