Demo Fixes 15

This commit is contained in:
2025-03-30 08:43:13 -04:00
parent d2bc4731f7
commit 8fe35aa064
2 changed files with 171 additions and 2 deletions

View File

@@ -302,6 +302,8 @@ def transcribe_with_whisper(audio_path):
segment_text = segment.text.strip()
print(f"[{segment.start:.2f}s -> {segment.end:.2f}s] {segment_text}")
user_text += segment_text + " "
print(f"Transcribed text: {user_text.strip()}")
return user_text.strip()