From 804b2f5945e26b501f5e49a37e5f0d9c08038d6a Mon Sep 17 00:00:00 2001 From: Untone Date: Thu, 26 Sep 2024 15:01:17 +0300 Subject: [PATCH] join-req-fix2 --- handlers/messages_routing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/messages_routing.py b/handlers/messages_routing.py index 52aee22..497c0a8 100644 --- a/handlers/messages_routing.py +++ b/handlers/messages_routing.py @@ -35,7 +35,7 @@ async def messages_routing(msg, state): toxic_score = detector(text) logger.info(f'\ntext: {text}\ntoxic: {math.floor(toxic_score*100)}%') if toxic_score > 0.81: - if toxic_score > 0.95: + if toxic_score > 0.90: await redis.set(f"removed:{uid}:{cid}:{mid}", text) await telegram_api( "deleteMessage",