File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ def download_video():
1818 output_path = VIDEO_DIRECTORY / f"{ file_name } .mp4"
1919
2020 video_url = "https://tulsa-ok.granicus.com/MediaPlayer.php?view_id=4&clip_id=6501"
21+ print (f"Downloading video from { video_url } " )
2122 # Get video player page info
2223 player_page : GranicusPlayerPage = asyncio .run (get_video_player (video_url ))
2324
@@ -28,10 +29,10 @@ def download_video():
2829 if video_file :
2930 print (f"Video saved to: { video_file } " )
3031
32+ return video_file
3133
32- def run_diarization ():
33- video_file = "data/video/regular_council_meeting___2025_02_26.mp4"
3434
35+ def run_diarization (video_file : Path ):
3536 transcription_dir = Path ("data/transcripts" )
3637
3738 transcription = asyncio .run (
@@ -41,5 +42,5 @@ def run_diarization():
4142
4243
4344if __name__ == "__main__" :
44- download_video ()
45- run_diarization ()
45+ video_file = download_video ()
46+ run_diarization (video_file )
You can’t perform that action at this time.
0 commit comments