whisper.objc : disable timestamps for real-time transcription

This commit is contained in:
Georgi Gerganov 2023-12-08 13:43:37 +02:00
parent 29511d33c7
commit 9521ba6801
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735
2 changed files with 16 additions and 15 deletions

View File

@ -206,6 +206,7 @@ void AudioInputCallback(void * inUserData,
params.offset_ms = 0;
params.no_context = true;
params.single_segment = self->stateInp.isRealtime;
params.no_timestamps = params.single_segment;
CFTimeInterval startTime = CACurrentMediaTime();