Spaces:
Sleeping
Sleeping
Commit History
-
Link local model name to its HF repo, unbold "local CPU model", clarify wording
"seq2seq" is jargon for the target audience; describe it in plain terms (a plain translation model vs. an instruction-following AI) instead. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>448481b -
Add usage explanation to top of app, covering local vs OpenRouter model choice
Explains the upload -> segment -> translate -> edit -> download workflow and clarifies the tradeoff between the default local CPU model (free, no prompt support, lower quality) and OpenRouter (paid, prompt-driven, higher quality). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>c75b0b8 -
Switch translation backend from Gemini to OpenRouter, add test suite
Replaces the Gemini API integration with OpenRouter: the model dropdown is now live-fetched from OpenRouter's catalog with a small curated set of recommended models pinned to the top (also used as OpenRouter's server-side model fallback chain). Adds a pytest suite covering chunking, file I/O, prompt storage, the OpenRouter backend, the backend dispatcher, the local CPU backend, and the Gradio handlers/app wiring, plus sample Tibetan input files (txt/docx/pdf) used as test fixtures. Also adds a pre-push git hook that runs the suite and blocks the push on failure. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>36fc86c -
Enable ZeroGPU on local backend, remove deprecated Docker files
HF requires at least one @spaces.GPU function to boot a gradio-sdk Space on ZeroGPU hardware; decorate the local model's translate_batch and move tensors to cuda when available. Drop the unused Dockerfile now that the Space runs on the gradio SDK instead of docker. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>9e83c68 -
Merge remote-tracking branch 'space/main'
# Conflicts: # README.md9eacf15 -
Configure Space for gradio SDK (ZeroGPU) and add academic translation prompt
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>d97df2b -
initial commit
Verified signature777f0fa -
Initial simplified TranslationUI: plain-text upload/download, single Buddhist translation prompt, Gemini or local CPU model
88a619b