reab5555 commited on
Commit
c5ca481
·
verified ·
1 Parent(s): a80d5f3

Update voice_analysis.py

Browse files
Files changed (1) hide show
  1. voice_analysis.py +1 -1
voice_analysis.py CHANGED
@@ -63,6 +63,6 @@ def align_voice_embeddings(voice_embeddings, frame_count, fps, audio_duration):
63
  voice_embeddings[current_embedding_index + 1]["time"] <= frame_time):
64
  current_embedding_index += 1
65
 
66
- aligned_embeddings.append(voice_embeddings[current_embedding_index]["embedding"])
67
 
68
  return aligned_embeddings
 
63
  voice_embeddings[current_embedding_index + 1]["time"] <= frame_time):
64
  current_embedding_index += 1
65
 
66
+ aligned_embeddings.append(voice_embeddings[current_embedding_index]["embedding"].flatten())
67
 
68
  return aligned_embeddings