Use 29 lines per transcript page; rename ATTENDANCE to PERSONS IN DISCUSSION
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled

This commit is contained in:
admin
2026-06-21 01:20:31 +00:00
parent 92fce4e126
commit f3392d80c6
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -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
+1 -1
View File
@@ -206,7 +206,7 @@ class SummarizerClient:
"You will receive several intermediate summaries of a longer conversation. "
"Produce a single, comprehensive summary using markdown. "
"Structure your response with the following sections:\n\n"
"1. ATTENDANCE\n"
"1. PERSONS IN DISCUSSION\n"
"- List all participants whose names or roles can be identified from the conversation.\n"
"- If a name is not given, use their role/position (e.g., Judge, Client, Manager, Witness) or 'Speaker 1', etc.\n"
"- Keep it concise.\n\n"