Skip to content

Replace Whisper runtime with ONNX Runtime - #3

Merged
johanbeytell1 merged 1 commit into
mainfrom
arena/01a1062a-scriptify
Oct 4, 2026
Merged

johanbeytell1 merged 1 commit into
mainfrom
arena/01a1062a-scriptify

Conversation

@johanbeytell1

@johanbeytell1 johanbeytell1 commented Oct 4, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Replace OpenAI Whisper/PyTorch transcription with ONNX Runtime and int8 Whisper models downloaded on demand.
  • Remove Whisper, Torch, SciPy, and bundled FFmpeg from runtime/build dependencies; keep model weights outside the executable.
  • Restyle the model chooser, report download progress honestly as indeterminate, and retain the existing writing workflow.
  • Add a persistent light/dark theme toggle to reading mode.
  • Update build configuration and usage documentation.

Validation

  • Installed the updated requirements and verified ONNX Runtime CPU and onnx-asr imports.
  • Verified all six model IDs resolve to the expected int8 Whisper graph layout using local fixtures.
  • Python/JavaScript syntax, HTML parsing, dependency checks, and git diff --check passed.

Environment limitations

  • A real model download/inference could not be completed because the sandbox's TLS connection to Hugging Face closes during the request.
  • The local PyInstaller build could not proceed because the sandbox is missing libpython3.11.so.1.0; please use the CI build to verify final platform artifact sizes.

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
@johanbeytell1
johanbeytell1 merged commit 243fa7f into main Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant