Spaces:
Sleeping
Sleeping
fix indent error
Browse files
app.py
CHANGED
@@ -162,9 +162,9 @@ def aggregate_vocal_times(vocal_time):
|
|
162 |
"end_time": f"{end_time}"
|
163 |
}
|
164 |
)
|
165 |
-
|
166 |
print(f"An exception occurred: {e}")
|
167 |
-
|
168 |
|
169 |
def add_voice_label(json_file, audio_path):
|
170 |
# Load the JSON file
|
|
|
162 |
"end_time": f"{end_time}"
|
163 |
}
|
164 |
)
|
165 |
+
except Exception as e:
|
166 |
print(f"An exception occurred: {e}")
|
167 |
+
return compressed_vocal_times
|
168 |
|
169 |
def add_voice_label(json_file, audio_path):
|
170 |
# Load the JSON file
|