Spaces:
Sleeping
Sleeping
Philippe Normand
commited on
whisper : fix build with -Werror=undef (#1045)
Browse files- whisper.cpp +1 -1
whisper.cpp
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
#include "whisper.h"
|
| 2 |
-
#
|
| 3 |
#include "coreml/whisper-encoder.h"
|
| 4 |
#endif
|
| 5 |
|
|
|
|
| 1 |
#include "whisper.h"
|
| 2 |
+
#ifdef WHISPER_USE_COREML
|
| 3 |
#include "coreml/whisper-encoder.h"
|
| 4 |
#endif
|
| 5 |
|