PABannier / bark.cpp

Suno AI's Bark model in C/C++ for fast text-to-speech
MIT License
630 stars 48 forks source link

Add progress callback #157

Closed sindresorhus closed 1 month ago

sindresorhus commented 2 months ago

Something similar to what's done in Whisper.cpp: https://github.com/ggerganov/whisper.cpp/blob/b0c3cbf2e851cf232e432b590dcc514a689ec028/whisper.h#L553-L554

PABannier commented 2 months 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?

sindresorhus commented 2 months ago

I'm considering integrating Bark.cpp in a macOS app, and I would need to show a progress bar while it's generating.

PABannier commented 1 month ago

I added a progress callback in #173 :) @sindresorhus