fix for model getting stuck on same line and repeating itself

This commit is contained in:
Yuriy 2024-07-31 04:43:29 -04:00
parent 77794d1c22
commit dd4e53e11f

View File

@ -620,7 +620,8 @@ loop % SelectedAudioFilesArray.Length() {
UStartTime := A_TickCount ; start time
runwait, %ComSpec% /%KeepCMDOpenOrClose% title Podcast-Transcription-In-Progress & %A_scriptdir%\Models\main.exe -m %ModelPath% -f "%WavFilepath%" -t %CPUThreads% -otxt -ovtt -osrt -owts -ocsv -of "%OutputPath%"
; -mc 0 ; Fixes Model Getting stuck on same phrase ; https://github.com/ggerganov/whisper.cpp/issues/924
runwait, %ComSpec% /%KeepCMDOpenOrClose% title Podcast-Transcription-In-Progress & %A_scriptdir%\Models\main.exe -m %ModelPath% -mc 0 -f "%WavFilepath%" -t %CPUThreads% -otxt -ovtt -osrt -owts -ocsv -of "%OutputPath%"
URunTime := round(((A_TickCount - UStartTime) / 1000), 2) ; end time
Message = Time to Transcribe: %URunTime% seconds