PABannier / bark.cpp

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

encodec_weights.bin seems not produced by convert.py script #146

Closed qnixsynapse closed 2 months ago

qnixsynapse commented 2 months ago

Also, the readme is missing important details. The main binary expects a ggml binary, not a folder.

Edit: Okay I have to convert encodec using the submodule's convert.py script.

PABannier commented 2 months ago

Hello @qnixsynapse ! The instructions have been updated. Could you tell me if this works now?

qnixsynapse commented 2 months ago

@PABannier Hi. Sorry I am a bit busy these days.

This needs to be fixed in readme:

# run the inference
./build/examples/main/main -m ./ggml_weights/ -em ./ggml_weights/encodec_weights.bin -p "this is an audio"

main -m expects a ggml file not a folder in my testing.

PABannier commented 2 months ago

@qnixsynapse Thanks for pointing this out. The instructions have been updated. With #151 , we now support bark-small, the instructions are clearer.