Spaces:
Build error
Build error
small formatting change
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ def get_output(segments):
|
|
85 |
if i > 0:
|
86 |
output += '\n\n'
|
87 |
if segments[i - 1]["speaker"] != segment["speaker"]:
|
88 |
-
output += segment["speaker"] + ' ' + str(time(segment["start"])) + '\n'
|
89 |
output += segment["text"][1:] + ' '
|
90 |
return output
|
91 |
|
|
|
85 |
if i > 0:
|
86 |
output += '\n\n'
|
87 |
if segments[i - 1]["speaker"] != segment["speaker"]:
|
88 |
+
output += segment["speaker"] + ' ' + str(time(segment["start"])) + '\n\n'
|
89 |
output += segment["text"][1:] + ' '
|
90 |
return output
|
91 |
|