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