Spaces:
Sleeping
Sleeping
Update tools/asr_tool.py
Browse files- 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 |
+
|