Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -212,8 +212,8 @@ def add_voice_labelv2(json_file, audio_path):
|
|
212 |
end_seconds = (end_time - end_minutes) * 60
|
213 |
|
214 |
data['vocal_times'] = {
|
215 |
-
"start_time": f"{start_minutes}.{start_seconds
|
216 |
-
"end_time": f"{end_minutes}.{end_seconds
|
217 |
}
|
218 |
|
219 |
begin_seq = True
|
|
|
212 |
end_seconds = (end_time - end_minutes) * 60
|
213 |
|
214 |
data['vocal_times'] = {
|
215 |
+
"start_time": f"{start_minutes}.{start_seconds:.2f}",
|
216 |
+
"end_time": f"{end_minutes}.{end_seconds:.2f}"
|
217 |
}
|
218 |
|
219 |
begin_seq = True
|