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)