<commit_before>from PIL import Image
from PIL import ImageDraw
from PIL import ImageFont

img = Image.new('RGB', (1080, 720), (255, 255, 255))
d = ImageDraw.Draw(img)
# text to imagify
i = raw_input()
d.text((30, 30), i, fill=(255, 0, 0))
img.save('test.png')
<commit_msg>Formatted text<commit_after>from PIL import Image
from PIL import ImageDraw
from PIL import ImageFont

img = Image.new('RGB', (1080, 720), (255, 255, 255))
draw = ImageDraw.Draw(img)
font = ImageFont.truetype("Arial/ariali.ttf", 50)
# text to imagify
line = raw_input()
margin = 350
offset = 300
draw.text((margin, offset), line, font=font, fill=(0,0,0,255) )
img.save('test.png')

{'fraction_non_alphanumeric': 0.15384615384615385, 'fraction_numerical': 0.08136094674556213, 'mean_word_length': 4.459677419354839, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '148318', 'n_tokens_mistral': 300, 'n_tokens_neox': 258, 'n_words': 73}