Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -241,7 +241,7 @@ def handle_generate(*_inp):
|
|
241 |
|
242 |
if inp[5] != "":
|
243 |
draw = ImageDraw.Draw(pipe_out)
|
244 |
-
textheight=
|
245 |
font = ImageFont.truetype(r"OpenSans-Bold.ttf", textheight)
|
246 |
textwidth = draw.textlength(inp[5],font)
|
247 |
x = (width - textwidth) // 2
|
|
|
241 |
|
242 |
if inp[5] != "":
|
243 |
draw = ImageDraw.Draw(pipe_out)
|
244 |
+
textheight=72
|
245 |
font = ImageFont.truetype(r"OpenSans-Bold.ttf", textheight)
|
246 |
textwidth = draw.textlength(inp[5],font)
|
247 |
x = (width - textwidth) // 2
|