From 878da549e06c82aa0cb60349e1981fe788c67a47 Mon Sep 17 00:00:00 2001 From: Untone Date: Thu, 26 Sep 2024 13:07:12 +0300 Subject: [PATCH] .sk --- handlers/messages_routing.py | 1 - 1 file changed, 1 deletion(-) diff --git a/handlers/messages_routing.py b/handlers/messages_routing.py index 3ad803c..d7f0a92 100644 --- a/handlers/messages_routing.py +++ b/handlers/messages_routing.py @@ -30,7 +30,6 @@ async def messages_routing(msg, state): if reply_chat_id != FEEDBACK_CHAT_ID: await telegram_api("sendMessage", chat_id=reply_chat_id, text=text, reply_to=reply_msg.get("message_id")) - # TODO: implement text2toxicity with https://huggingface.co/s-nlp/russian_toxicity_classifier elif bool(text): mid = msg.get("message_id") non_toxic_score, toxic_score = detector(text)