Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|