AngelinaZanardi commited on
Commit
b4f4567
·
verified ·
1 Parent(s): 1a323cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = "\n".join(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"