Freddolin commited on
Commit
a4dc28d
·
verified ·
1 Parent(s): 2d42395

Update tools/asr_tool.py

Browse files
Files changed (1) hide show
  1. tools/asr_tool.py +1 -0
tools/asr_tool.py CHANGED
@@ -6,3 +6,4 @@ def transcribe_audio(audio_path: str) -> str:
6
  segments, _ = model.transcribe(audio_path)
7
  transcription = " ".join(segment.text for segment in segments)
8
  return transcription or "No transcription found."
 
 
6
  segments, _ = model.transcribe(audio_path)
7
  transcription = " ".join(segment.text for segment in segments)
8
  return transcription or "No transcription found."
9
+