File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 11#include " whisper.h"
22#include " common-whisper.h"
33
4- #include < cassert>
54#include < cstdio>
65#include < cfloat>
76#include < string>
87#include < cstring>
98
9+ #ifdef NDEBUG
10+ #undef NDEBUG
11+ #endif
12+
13+ #include < cassert>
14+
1015int main () {
1116 std::string whisper_model_path = " ../../models/ggml-base.en.bin" ;
1217 std::string vad_model_path = " ../../models/for-tests-silero-v5.1.2-ggml.bin" ;
Original file line number Diff line number Diff line change 11#include " whisper.h"
22#include " common-whisper.h"
33
4- #include < cassert>
54#include < cstdio>
65#include < string>
76
7+ #ifdef NDEBUG
8+ #undef NDEBUG
9+ #endif
10+ #include < cassert>
11+
812void assert_default_params (const struct whisper_vad_params & params) {
913 assert (params.threshold == 0.5 );
1014 assert (params.min_speech_duration_ms == 250 );
You can’t perform that action at this time.
0 commit comments