jilijeanlouis commited on
Commit
0a7c28f
1 Parent(s): ce11ee8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ def transcribe(
85
  for segment in segments:
86
  if segment["speaker"] != current_speaker and segment["speaker"]!= "unknown":
87
  current_speaker = segment["speaker"]
88
- output = output + "<br/><br/><b>" + segment["speaker"] + ":</b> " + segment["transcription"]
89
  else:
90
  output = output + " " + segment["transcription"]
91
 
 
85
  for segment in segments:
86
  if segment["speaker"] != current_speaker and segment["speaker"]!= "unknown":
87
  current_speaker = segment["speaker"]
88
+ output = output + "<br/><br/><b> Speaker:" + str(segment["speaker"]) + ":</b> " + segment["transcription"]
89
  else:
90
  output = output + " " + segment["transcription"]
91