helloWorld199 commited on
Commit
0752f2a
1 Parent(s): 18ee5d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -196,7 +196,7 @@ def add_voice_labelv2(json_file, audio_path):
196
  begin_seq = True
197
  start_idx = 0
198
 
199
- for i in range(len(voice_idxs)):
200
  if begin_seq:
201
  start_idx = voice_idxs[i]
202
  begin_seq = False
 
196
  begin_seq = True
197
  start_idx = 0
198
 
199
+ for i in range(len(voice_idxs)-1):
200
  if begin_seq:
201
  start_idx = voice_idxs[i]
202
  begin_seq = False