mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-20 21:23:06 +00:00
parent
80aefc9514
commit
692aa0784f
@ -171,8 +171,8 @@ if (WHISPER_STANDALONE)
|
||||
endif ()
|
||||
|
||||
# TODO: temporary disabled
|
||||
if (WHISPER_BUILD_TESTS)
|
||||
enable_testing()
|
||||
add_subdirectory(tests)
|
||||
endif ()
|
||||
#if (WHISPER_BUILD_TESTS)
|
||||
# enable_testing()
|
||||
# add_subdirectory(tests)
|
||||
#endif ()
|
||||
endif ()
|
||||
|
@ -2477,12 +2477,6 @@ int whisper_full(
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
// TESTS: if no tensors are loaded, it means we are running tests
|
||||
if (ctx->model.tensors.size()) {
|
||||
seek_delta = 100*WHISPER_CHUNK_SIZE;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (done) {
|
||||
|
Loading…
Reference in New Issue
Block a user