reab5555 commited on
Commit
24a4384
·
verified ·
1 Parent(s): 2b959ae

Update video_processing.py

Browse files
Files changed (1) hide show
  1. video_processing.py +1 -1
video_processing.py CHANGED
@@ -145,7 +145,7 @@ def process_video(video_path, anomaly_threshold, desired_fps, progress=None):
145
  progress(0.75, "Getting face samples")
146
  face_samples = get_all_face_samples(organized_faces_folder, output_folder, largest_cluster)
147
 
148
- progress(0.8, "Extracting audio and performing voice analysis")
149
  audio_path = extract_audio_from_video(video_path)
150
  diarization, most_frequent_speaker = diarize_speakers(audio_path)
151
  voice_embeddings, audio_duration = get_speaker_embeddings(audio_path, diarization, most_frequent_speaker)
 
145
  progress(0.75, "Getting face samples")
146
  face_samples = get_all_face_samples(organized_faces_folder, output_folder, largest_cluster)
147
 
148
+ progress(0.8, "Performing voice analysis")
149
  audio_path = extract_audio_from_video(video_path)
150
  diarization, most_frequent_speaker = diarize_speakers(audio_path)
151
  voice_embeddings, audio_duration = get_speaker_embeddings(audio_path, diarization, most_frequent_speaker)