Set 30 lines per page
This commit is contained in:
@@ -483,7 +483,7 @@ def create_transcript_docx(text: str, filename: str):
|
||||
|
||||
# Add segments to pages, enforcing 29 lines per page
|
||||
for seg in segments:
|
||||
if line_count == 32:
|
||||
if line_count == 30:
|
||||
prepared_pages.append(current_page)
|
||||
current_page = []
|
||||
line_count = 0
|
||||
|
||||
Reference in New Issue
Block a user