sindhuhegde commited on
Commit
39c830f
·
1 Parent(s): 449a2b2

Update app

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1074,7 +1074,7 @@ def extract_audio(video, result_folder):
1074
 
1075
  return wav_file, "success"
1076
 
1077
- @spaces.GPU(duration=100)
1078
  def get_embeddings(video_sequences, audio_sequences, model, asd=False, calc_aud_emb=True):
1079
 
1080
  '''
@@ -1540,7 +1540,7 @@ def process_video_activespeaker(video_path, global_speaker, num_avg_frames):
1540
 
1541
  # Prepare the active speakers list to draw the bounding boxes
1542
  if global_speaker=="global-prediction":
1543
- print("Aggregating scores using global predictoins")
1544
  active_speakers = [predictions]*len(frames_scene)
1545
  start, end = 0, len(frames_scene)
1546
  else:
 
1074
 
1075
  return wav_file, "success"
1076
 
1077
+ @spaces.GPU(duration=60)
1078
  def get_embeddings(video_sequences, audio_sequences, model, asd=False, calc_aud_emb=True):
1079
 
1080
  '''
 
1540
 
1541
  # Prepare the active speakers list to draw the bounding boxes
1542
  if global_speaker=="global-prediction":
1543
+ print("Aggregating scores using global predictions")
1544
  active_speakers = [predictions]*len(frames_scene)
1545
  start, end = 0, len(frames_scene)
1546
  else: