Skip to content

Commit

Permalink
Moved to default font
Browse files Browse the repository at this point in the history
Signed-off-by: Yoav Katz <[email protected]>
  • Loading branch information
yoavkatz committed Jan 30, 2025
1 parent 78f3634 commit 1642ff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/key_value_extraction_evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def text_to_image(text: str):
bg_color = (255, 255, 255)
text_color = (0, 0, 0)
font_size = 10
font = ImageFont.truetype("Arial", font_size)
font = ImageFont.load_default(size=font_size)

img = Image.new("RGB", (1, 1), bg_color)

Expand Down

0 comments on commit 1642ff5

Please sign in to comment.