diff options
| -rw-r--r-- | GUI/GUI/GUI/WhisperCPP.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/GUI/GUI/GUI/WhisperCPP.cpp b/GUI/GUI/GUI/WhisperCPP.cpp index 0495b2e..ec8a6c2 100644 --- a/GUI/GUI/GUI/WhisperCPP.cpp +++ b/GUI/GUI/GUI/WhisperCPP.cpp @@ -344,7 +344,7 @@ void WhisperCPP::Start(const AppConfig& c) { // entries (source: I heard it from someone once).
static const std::vector<std::string> banned_words{
" -",
- " (static)",
+ " *fades out*",
" *no audio*",
};
@@ -359,7 +359,9 @@ void WhisperCPP::Start(const AppConfig& c) { const sToken& tok = tokens[seg.firstToken + j];
std::string_view tok_str(tok.text);
if (tok_str.starts_with("[") ||
- tok_str.starts_with(" [")) {
+ tok_str.starts_with("(") ||
+ tok_str.starts_with(" [") ||
+ tok_str.starts_with(" (")) {
is_metadata = true;
}
if (is_metadata) {
|
