Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -282,7 +282,7 @@ def create_pdf(images, description, email, company):
|
|
282 |
lines.append(" ".join(current_line))
|
283 |
|
284 |
# Write each line of the description
|
285 |
-
y_position -=
|
286 |
for line in lines:
|
287 |
c.drawString(50, y_position, line)
|
288 |
y_position -= 15 # Adjust for line spacing
|
|
|
282 |
lines.append(" ".join(current_line))
|
283 |
|
284 |
# Write each line of the description
|
285 |
+
y_position -= 170 # Initial Y position
|
286 |
for line in lines:
|
287 |
c.drawString(50, y_position, line)
|
288 |
y_position -= 15 # Adjust for line spacing
|