Use 29 lines per transcript page; rename ATTENDANCE to PERSONS IN DISCUSSION
This commit is contained in:
@@ -457,7 +457,7 @@ def create_transcript_docx(text: str, filename: str, summary_text: str = ""):
|
||||
"""
|
||||
from . import docx_styles
|
||||
|
||||
# Step 1: Prepare transcript into pages of 30 lines each
|
||||
# Step 1: Prepare transcript into pages of 29 lines each
|
||||
prepared_pages = []
|
||||
current_page = []
|
||||
line_count = 0
|
||||
@@ -485,9 +485,9 @@ def create_transcript_docx(text: str, filename: str, summary_text: str = ""):
|
||||
if current:
|
||||
segments.append(current)
|
||||
|
||||
# Add segments to pages, enforcing 30 lines per page
|
||||
# Add segments to pages, enforcing 29 lines per page
|
||||
for seg in segments:
|
||||
if line_count == 30:
|
||||
if line_count == 29:
|
||||
prepared_pages.append(current_page)
|
||||
current_page = []
|
||||
line_count = 0
|
||||
|
||||
Reference in New Issue
Block a user