Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ def format_inference(output):
|
|
7 |
if output:
|
8 |
timestamps = []
|
9 |
for out in output:
|
10 |
-
timestamps.append(f"Start: {out['start']}s; Stop{out['stop']}s")
|
11 |
return "\n".join(timestamps)
|
12 |
else:
|
13 |
return "No voice activity detected."
|
|
|
7 |
if output:
|
8 |
timestamps = []
|
9 |
for out in output:
|
10 |
+
timestamps.append(f"Start: {out['start']}s; Stop: {out['stop']}s")
|
11 |
return "\n".join(timestamps)
|
12 |
else:
|
13 |
return "No voice activity detected."
|