Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
@@ -78,7 +78,7 @@ def transcribe(file, return_timestamps=False):
|
|
78 |
end_time = time.strftime('%H:%M:%S', time.gmtime(chunk["timestamp"][1])) if chunk["timestamp"][1] is not None else "??:??:??"
|
79 |
line = f"[{start_time} -> {end_time}] {chunk['text']}"
|
80 |
text.append(line)
|
81 |
-
formatted_text = "
|
82 |
|
83 |
if truncated:
|
84 |
link="https://github.com/NbAiLab/nostram/blob/main/leverandorer.md"
|
|
|
78 |
end_time = time.strftime('%H:%M:%S', time.gmtime(chunk["timestamp"][1])) if chunk["timestamp"][1] is not None else "??:??:??"
|
79 |
line = f"[{start_time} -> {end_time}] {chunk['text']}"
|
80 |
text.append(line)
|
81 |
+
formatted_text = "<br>".join(text)
|
82 |
|
83 |
if truncated:
|
84 |
link="https://github.com/NbAiLab/nostram/blob/main/leverandorer.md"
|