Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -218,9 +218,7 @@ def save_text_to_pdf(text, output_path):
|
|
| 218 |
line_spacing = 1 * font_size
|
| 219 |
fontname = "times-roman" # Use a supported font name
|
| 220 |
|
| 221 |
-
# Process the text
|
| 222 |
-
|
| 223 |
-
into lines that fit within the text_width
|
| 224 |
lines = []
|
| 225 |
current_line = ""
|
| 226 |
current_line_width = 0
|
|
|
|
| 218 |
line_spacing = 1 * font_size
|
| 219 |
fontname = "times-roman" # Use a supported font name
|
| 220 |
|
| 221 |
+
# Process the text into lines that fit within the text_width
|
|
|
|
|
|
|
| 222 |
lines = []
|
| 223 |
current_line = ""
|
| 224 |
current_line_width = 0
|