From bec5d9316fc660667bf8cdb4939f503be990f1f5 Mon Sep 17 00:00:00 2001 From: Siarhei Siniak Date: Thu, 15 Jul 2021 10:13:27 +0300 Subject: [PATCH] [~] Refactor --- python/tasks/jigsaw_toxic.py | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/python/tasks/jigsaw_toxic.py b/python/tasks/jigsaw_toxic.py index 6dc5d0f..032f26d 100644 --- a/python/tasks/jigsaw_toxic.py +++ b/python/tasks/jigsaw_toxic.py @@ -309,7 +309,7 @@ def kernel_4( if input_texts is None: input_texts = [ - 'blahb blahb blah' + 'blahb blahb blah', 'Hello World!', 'This is very good!', 'A very non toxic comment! This is so polite and polished one!' @@ -334,11 +334,15 @@ def kernel_4( score=t4[0], ) ) + pprint.pprint( + dict( + t1=t1, + t2=t2, + t3=t3, + t4=t4, + ) + ) return dict( - t1=t1, - t2=t2, - t3=t3, - t4=t4, t6=t6, )