NAB1108 commited on
Commit
03d41a2
·
1 Parent(s): 461e557

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ def text_to_image(
61
  width = math.ceil(bbox[2] - bbox[0])
62
  height = math.ceil(bbox[3] - bbox[1])
63
 
64
- img = Image.new("RGBA", (500, 500), (0, 0, 0, 0))
65
  draw = ImageDraw.Draw(img)
66
 
67
  if font_align == "center":
 
61
  width = math.ceil(bbox[2] - bbox[0])
62
  height = math.ceil(bbox[3] - bbox[1])
63
 
64
+ img = Image.new("RGBA", (1000, 500), (0, 0, 0, 0))
65
  draw = ImageDraw.Draw(img)
66
 
67
  if font_align == "center":