mirror of
https://github.com/Daichimarukana/uwuzu.git
synced 2026-06-04 19:14:41 +00:00
uwuzu v1.4.14 Funium
This commit is contained in:
+1
-1
@@ -78,7 +78,7 @@ function isHarmfulContent(text, examples, keywords, similarityThreshold = 0.7) {
|
||||
nonHarmfulCharCount -= harmfulText.length;
|
||||
}
|
||||
|
||||
if (harmfulCharCount > nonHarmfulCharCount) {
|
||||
if (harmfulCharCount > nonHarmfulCharCount || harmfulCharCount > 6) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user