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 86529df commit a14c8deCopy full SHA for a14c8de
src/videos.py
@@ -174,6 +174,9 @@ async def transcribe_video_with_diarization(
174
logger.info(f"Transcribing video with speaker diarization: {video_path}")
175
start_time = time.time()
176
177
+ # Create output directory if it doesn't exist
178
+ output_path.mkdir(parents=True, exist_ok=True)
179
+
180
# Get the output path for the transcription
181
transcription_path = get_output_path(video_path, output_path, ext="diarized.json")
182
0 commit comments