From fd7e9ad9d7f39a8be49b1ff6eb41de94327cbaf8 Mon Sep 17 00:00:00 2001 From: admin Date: Sun, 21 Jun 2026 03:20:46 +0000 Subject: [PATCH] Adjust cover page: reduce blank lines, new date line, 'Transcribed by', updated disclaimer --- scraibe/docx_cover.py | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/scraibe/docx_cover.py b/scraibe/docx_cover.py index 180f978..8347995 100644 --- a/scraibe/docx_cover.py +++ b/scraibe/docx_cover.py @@ -76,8 +76,8 @@ def add_cover_page( if not provided, uses current server time in SERVER_TIMEZONE. """ - # 5 blank lines - _add_blank_lines(doc, 5) + # 3 blank lines + _add_blank_lines(doc, 3) # 3 blank lines _add_blank_lines(doc, 3) @@ -85,25 +85,29 @@ def add_cover_page( # Title in uppercase _add_centered_paragraph(doc, text=title.upper().strip(), font_size=Pt(18), bold=True) - # Date of transcription (use provided or current server time) + # Date of transcription if not date_str: tz = _get_server_timezone() now = datetime.now(tz) date_str = now.strftime("%B %d, %Y") - _add_centered_paragraph(doc, text=date_str, font_size=Pt(14)) + _add_centered_paragraph(doc, text=f"Transcript created on: {date_str}", font_size=Pt(14)) - # Created by + organization + # Transcribed by + organization org = (os.getenv("COVER_PAGE_ORGANIZATION") or "").strip() if org: - _add_centered_paragraph(doc, text=f"Created by {org}", font_size=Pt(12)) + _add_centered_paragraph(doc, text=f"Transcribed by {org}", font_size=Pt(12)) # 3 blank lines _add_blank_lines(doc, 3) - # Disclaimer: only the word "Disclaimer" is underlined + # Disclaimer disclaimer_title = "Disclaimer" disclaimer_body = ( - "This transcription and any summary derived therefrom may contain errors or inaccuracies." + "This transcription and any summary derived therefrom are created entirely by large language models. " + "Large language models are imperfect and may create errors or inaccuracies. " + "The following transcription and summary (if applicable) are designed to assist users. " + "They are not a conclusive record or summary of what transpired in an audio recording. " + "Use at your own risk." ) # Underlined "Disclaimer" line