Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

Commit

Permalink
fix speaker
Browse files Browse the repository at this point in the history
  • Loading branch information
MrlolDev committed Feb 25, 2023
1 parent eaca5a4 commit 2135385
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/transcript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ async function getTranscription(fileUrl, model, output) {
} else if (output == "speaker") {
for (var i = 0; i < res.prediction.length; i++) {
var tr = res.prediction[i];
transcription += `${tr.speaker}: ${tr.transcription}\n`;
transcription += `**${tr.speaker}:** ${tr.transcription}\n`;
}
} else if (output == "srt") {
for (var i = 0; i < res.prediction.length; i++) {
Expand Down

0 comments on commit 2135385

Please sign in to comment.