mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-08-18 19:48:46 +02:00
bench : fix build + fix go bindings
This commit is contained in:
@@ -73,7 +73,9 @@ int whisper_bench_full(const whisper_params & params) {
|
||||
return 2;
|
||||
}
|
||||
|
||||
if (int ret = whisper_set_mel(ctx, nullptr, 0, WHISPER_N_MEL)) {
|
||||
const int n_mel = 80;
|
||||
|
||||
if (int ret = whisper_set_mel(ctx, nullptr, 0, n_mel)) {
|
||||
fprintf(stderr, "error: failed to set mel: %d\n", ret);
|
||||
return 3;
|
||||
}
|
||||
|
Reference in New Issue
Block a user