Commit Graph
757 Commits
Author SHA1 Message Date
admin c8ef9cc00d Fix DOCX generation bug (Step 4) and re-apply cover page layout changes
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
2026-06-21 13:59:05 +00:00
admin f3392d80c6 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
2026-06-21 01:20:31 +00:00
admin 92fce4e126 Fix speaker ID regex and page break/line spacing in transcript DOCX
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
2026-06-20 18:47:07 +00:00
admin ffdabb6ae6 Refactor speaker ID into helpers; run before summarization; fix _chat_completion call
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
2026-06-20 16:58:55 +00:00
admin a545995221 Add ATTENDANCE section to summary prompt
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
2026-06-20 16:41:08 +00:00
admin 44bf935d70 Ensure hard page break before summary in transcript DOCX
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
2026-06-20 04:28:22 +00:00
admin 800a009c85 Embed summary in transcript DOCX for 'Transcribe & summarize'; remove separate summary files
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
2026-06-20 03:58:37 +00:00
admin 5b5904c354 Fix cover page: use WD_BREAK.PAGE for page break
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
2026-06-20 03:37:30 +00:00
admin 811be82a71 Fix cover page: use run-level page break to avoid extra blank line
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
2026-06-20 03:34:28 +00:00
admin 197feb2d4b Fix cover page: use valid page break so content starts on page 2
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
2026-06-20 03:25:24 +00:00
admin ecd40f42c2 Fix cover page: underline only 'Disclaimer', ensure page break, add SERVER_TIMEZONE env var
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
2026-06-20 03:10:32 +00:00
admin 0db7dcd677 Fix cover page: replace 'requests' with 'httpx' to avoid missing dependency
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
2026-06-20 02:35:11 +00:00
admin 0a038d9e74 Redesign cover page layout for transcript and summary DOCX
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
- Remove old title-only style.
- New layout (centered):
  - 5 blank lines
  - Logo from COVER_PAGE_LOGO_URL
  - 3 blank lines
  - Title (TRANSCRIPT or SUMMARY)
  - Date of transcription
  - Created by + COVER_PAGE_ORGANIZATION
  - 3 blank lines
  - Disclaimer
- Insert page break after cover page; content starts on page 2.
2026-06-20 02:20:28 +00:00
admin 63832d01d3 Remove MCP server from project
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
- Delete mcp_server.py
- Remove MCP startup from __main__.py
- Remove process_mcp_transcribe_task from tasks.py
- Clean MCP references from README.md
2026-06-20 01:40:27 +00:00
admin 42afe111bd Remove language and num_speakers from MCP server
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
- TranscribeRequest now only accepts audio_base64, audio_url, or audio_path.
- Hard-code language and num_speakers to None in transcription calls.
2026-06-20 01:23:40 +00:00
admin 332c88f99d Update MCP server to expose clear JSON tool schema
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
- Use Pydantic models and explicit operation_ids.
- No multipart; accept audio_base64, audio_url, or audio_path via JSON.
- Ensure OpenAPI spec is fully self-describing for MCP tool generation.
2026-06-20 01:19:35 +00:00
admin 099fb30e6c Update MCP server to accept JSON body with audio_base64/audio_url
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
- Remove multipart form; use JSON with audio_base64 or audio_url.
- Add internal audio_path field for internal use.
- Keep OpenAPI spec consistent with new schema.
2026-06-20 01:15:50 +00:00
admin cd0c730abe Ensure WebUI always loads even if MCP/watcher fail
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
- Wrap MCP server and watcher startup in try/except.
- Log warnings but never block WebUI launch.
2026-06-19 17:50:49 +00:00
admin 2bd6ee1567 Update README with new features (MCP API, watch-folder, improved summaries, DOCX styling, cover pages)
Mirror and run GitLab CI / build (push) Has been cancelled
2026-06-19 17:46:54 +00:00
admin 4bc9f82ee7 Test and validate all new modules on dev
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
- Confirmed MCP server endpoints and /transcribe flow.
- Confirmed watcher audio detection logic.
- Confirmed summarizer prompt loading and env override.
- Confirmed docx_styles markdown-to-DOCX conversion.
- Confirmed docx_cover integration.
- Confirmed email_sender with cover pages and markdown styling.
- Confirmed tasks and __main__ wiring.
2026-06-19 17:37:28 +00:00
admin bdd0a80d8d Add watch-folder mode and wire MCP/watcher into entrypoint
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
- New watcher.py: polls WATCH_DIR, enqueues transcription+summary via Celery.
- New process_watch_file_task in tasks.py.
- Updated __main__.py: WebUI always runs; MCP and watcher run in parallel when enabled.
2026-06-19 17:18:20 +00:00
admin 7a31be9de5 Improve summary prompt, add markdown-to-DOCX styling, and add cover pages
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
- Configurable summary prompts via ENV or file; stronger default prompt.
- New docx_styles.py: converts markdown (headings, bullets, bold/italic) to DOCX.
- Updated create_summary_docx to use markdown-aware styling.
- New docx_cover.py: reusable cover page for transcript and summary.
- Cover pages enabled when COVER_PAGE_ENABLED=true.
2026-06-19 17:16:46 +00:00
admin 54414def26 Add MCP-style API server (OpenAPI) alongside WebUI
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
- New mcp_server.py: FastAPI app for LLMs to upload audio and get transcript JSON.
- Added process_mcp_transcribe_task Celery task.
- Updated __main__.py: WebUI always runs; MCP server runs in parallel when MCP_SERVER_ENABLED=true.
2026-06-19 17:04:44 +00:00
admin 111d1ea18b Set 30 lines per page
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
2026-06-19 16:18:15 +00:00
admin cb27ba80a1 Increase line length to 64 chars and lines per page to 32
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
2026-06-19 16:12:20 +00:00
admin 2112b8c7e2 Rewrite transcript DOCX logic for correctness
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
- Prepare transcript into pages of 29 lines each before writing.
- Each line max 60 chars total (48 content + number + spaces).
- Words preserved (no clipping); wrap at word boundaries.
- Page break after every 29 lines.
- No distinction between logical/visual lines.
2026-06-19 16:07:20 +00:00
admin 49f3cdc407 Fix page breaks: insert after every 29 lines; wrap at 58 chars preserving whole words
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
- Insert page break after every 29 visual lines.
- Wrap content at 58 characters, keeping whole words together.
- Ensure no text is lost; all transcript text is included.
2026-06-19 15:32:31 +00:00
admin 2c0998579c Ensure page break after line 29 and preserve all transcript text
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
- Insert page break after every 29 visual lines.
- Wrap long lines instead of truncating to preserve all words.
- No text is dropped; content wraps onto new lines as needed.
2026-06-19 15:25:49 +00:00
admin 327c05ea16 Use single-column layout in web UI with status below submit button
Ruff / ruff (push) Has been cancelled
Mirror and run GitLab CI / build (push) Has been cancelled
2026-06-19 15:20:18 +00:00
admin dabb5970ba Remove language and number of speakers fields from web GUI
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
- Drop 'Language (optional)' and 'Number of speakers (optional)' inputs.
- Update submit handler to pass None for both fields.
2026-06-19 15:18:03 +00:00
admin 36b0b6f241 chore: set max line length to 58 chars in Ruff config
Mirror and run GitLab CI / build (push) Has been cancelled
2026-06-18 18:10:06 +00:00
admin 6640bc050d feat: add chunked ASR for long audio with env-configurable chunk duration
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
- Integrate chunking into LocalAI client to avoid GPU OOM on long audio.
- Split long files into overlapping chunks; transcribe each chunk; merge segments with corrected timestamps.
- Auto-enable chunking when audio duration > LOCALAI_MAX_SINGLE_REQUEST_DURATION (default 300s).
- Add env variables:
    LOCALAI_CHUNK_DURATION (default 180)
    LOCALAI_CHUNK_OVERLAP (default 2)
    LOCALAI_MAX_SINGLE_REQUEST_DURATION (default 300)
- Add unit and integration tests for chunking logic.
- Confirmed working end-to-end with vibevoice-cpp-asr on 88-minute file.
2026-06-18 17:46:29 +00:00
admin 59363c5dcd Set content max_chars to 54
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
2026-06-17 17:08:41 +00:00
admin 0e27537a68 Enforce 60-char max per full line including spaces
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
- Reduce content max_chars to 48 so that:
  - line_number (up to 2) + spaces (up to 9) + content (48) <= 60.
2026-06-17 17:03:33 +00:00
admin 0947e91f15 Add extra white space between line number and text
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
- First line of each speaker turn: 2 base + 7 extra spaces.
- Continuation lines: 2 base + 3 extra spaces.
2026-06-17 16:55:31 +00:00
admin 1d447f2836 Center footer page numbers
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
2026-06-17 02:11:56 +00:00
admin 49e607e1e1 Add page numbers to footer: 'X of Y' (bottom left)
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
- Use PAGE and NUMPAGES fields for dynamic page numbering.
- Footer aligned left.
2026-06-17 02:10:42 +00:00
admin bd4393addc Increase max characters per visual line to 60
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
2026-06-17 02:01:35 +00:00
admin f5836d83f3 Add two spaces after line number and reduce max chars to 57
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
- Insert two spaces after the tab between line number and content.
- Reduce max_chars from 58 to 57 to slightly shorten each visual line.
2026-06-17 02:00:08 +00:00
admin b2dce9e048 Set 29 lines per page and fix page break insertion
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
- Use 29 visual lines per page before inserting a page break.
- Use w:pageBreak element for reliable page breaks across editors.
- Restart line numbering at 1 on each new page.
2026-06-16 19:51:24 +00:00
admin 4d9414fee9 Set line spacing to 1.5; page break every 32 lines
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
- Increase line spacing to 1.5 (360 twips).
- Insert page break after every 32 visual lines.
- Restart line numbering at 1 on each new page.
2026-06-16 19:49:01 +00:00
admin d4ed84f68d Set line spacing to 1.2 and 32 lines per page
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
- Increase line spacing to 1.2 (288 twips).
- Restart line numbering at 1 every 32 lines with page break.
2026-06-16 19:42:25 +00:00
admin eb83a37f02 Restart line numbering at 1 every 45 lines with page break
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
- Insert page break after 45 visual lines.
- Reset line counter so each page starts at 1.
- Uses embedded line numbers for consistent behavior across editors.
2026-06-16 19:40:15 +00:00
admin e7aa5ebf25 Ensure first visual line respects 58-char limit including label
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
- Trim first line at word boundary if label + content > 58.
- Subsequent lines continue at full width.
2026-06-16 19:26:30 +00:00
admin 1265a664cd Clip visual lines at 58 characters
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
2026-06-16 19:23:09 +00:00
admin 83f3c09218 Make line numbers reflect visual lines, not speaker turns
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
- Split long lines into multiple visual lines at word boundaries.
- Each visual line is its own paragraph with its own embedded line number.
- Continuous numbering across speakers and pages.
- Portable across Word, LibreOffice, Google Docs.
2026-06-16 19:21:04 +00:00
admin d828a91bf3 Use embedded line numbers instead of built-in line numbering
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
- Remove w:lnNumType; line numbers are now plain text in each paragraph.
- Ensures first line is always '1' across Word, LibreOffice, Google Docs.
- Each paragraph: line number + tab + content.
2026-06-16 19:15:47 +00:00
admin 670c6d3e2b Fix first-page line numbering off-by-one in transcript DOCX
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
- Remove docGrid element to prevent phantom grid-based line offset.
- Ensure exactly one lnNumType element (no duplicates).
- First visible line on page 1 now correctly numbered as 1.
2026-06-16 19:09:26 +00:00
admin f20102d564 Fix transcript DOCX line numbering (spacing and column fixes)
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
- Ensure single column layout (cols num='1')
- Set explicit single line spacing (before/after=0, line=240 twips)
- Prevents Word from counting extra lines due to spacing/columns
2026-06-16 18:08:46 +00:00
admin 0e6bc53cf8 Fix duplicate pgMar causing line numbering issue
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
- Update existing pgMar instead of appending a second one
- Prevents Word from miscounting lines on first page
2026-06-16 18:03:39 +00:00