This commit is contained in:
parent
0a1fb08371
commit
2a869cd509
1 changed files with 2 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ parser.add_argument(
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--diarization",
|
"--diarization",
|
||||||
type=bool,
|
type=bool,
|
||||||
default=True,
|
default=False,
|
||||||
help="Whether to enable speaker diarization.",
|
help="Whether to enable speaker diarization.",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -329,7 +329,7 @@ async def results_formatter(shared_state, websocket):
|
||||||
"speaker": 1,
|
"speaker": 1,
|
||||||
"text": "",
|
"text": "",
|
||||||
"beg": format_time(0),
|
"beg": format_time(0),
|
||||||
"end": format_time(token.end) if token else format_time(0),
|
"end": format_time(tokens[-1].end) if tokens else format_time(0),
|
||||||
"diff": 0
|
"diff": 0
|
||||||
}],
|
}],
|
||||||
"buffer_transcription": buffer_transcription,
|
"buffer_transcription": buffer_transcription,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue