mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-29 01:58:47 +01:00
whisper.objc : disable timestamps for real-time transcription
This commit is contained in:
parent
29511d33c7
commit
9521ba6801
@ -206,6 +206,7 @@ void AudioInputCallback(void * inUserData,
|
|||||||
params.offset_ms = 0;
|
params.offset_ms = 0;
|
||||||
params.no_context = true;
|
params.no_context = true;
|
||||||
params.single_segment = self->stateInp.isRealtime;
|
params.single_segment = self->stateInp.isRealtime;
|
||||||
|
params.no_timestamps = params.single_segment;
|
||||||
|
|
||||||
CFTimeInterval startTime = CACurrentMediaTime();
|
CFTimeInterval startTime = CACurrentMediaTime();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user