Closed sindresorhus closed 1 month ago
Hello @sindresorhus ! We already have BarkProgressBar
for progress updates: https://github.com/PABannier/bark.cpp/blob/main/bark.cpp#L33
Why would you like to have a progress_callback
? Do you have a particular use case in mind?
I'm considering integrating Bark.cpp in a macOS app, and I would need to show a progress bar while it's generating.
I added a progress callback in #173 :) @sindresorhus
Something similar to what's done in Whisper.cpp: https://github.com/ggerganov/whisper.cpp/blob/b0c3cbf2e851cf232e432b590dcc514a689ec028/whisper.h#L553-L554