--- title: Kabyle Multi Translate emoji: 💻 colorFrom: green colorTo: gray sdk: docker app_port: 7860 pinned: false license: mit short_description: Kabyle Multitranslate --- # Kabyle Multi Translate A simple Flask-based translation interface comparing MarianMT and LibreTranslate outputs for English to Kabyle translation. ## Features - **MarianMT Neural Translations**: 3 alternative translations from the neural model - **LibreTranslate Variants**: Multiple Kabyle language variants - **User Selection**: Click any translation to select it (auto-copied to clipboard) - **No Metrics**: Clean interface without quality scores or confidence metrics ## Usage 1. Enter English text in the input box 2. Click "Translate" 3. Click on any translation to select it (it will be copied automatically) 4. Double-click to copy without selecting ## API The Space also exposes a JSON API for programmatic access. **Translate:** ``` POST /api/translate Content-Type: application/json { "text": "Good morning", "engines": ["marian", "libre"], "variants": ["kab", "kab_kab"] } ``` Or via GET: ``` GET /api/translate?text=Good+morning&engines=marian,libre ``` Both `engines` and `variants` are optional — omit them to get MarianMT plus all LibreTranslate variants. **List available variants:** ``` GET /api/variants ``` **Health check:** ``` GET /health ```