Spaces:
Paused
Paused
File size: 1,463 Bytes
0b94161 384c8e8 0b94161 384c8e8 0b94161 384c8e8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | ---
title: ModiTrans
emoji: π
colorFrom: yellow
colorTo: red
sdk: gradio
sdk_version: 5.0.0
app_file: app.py
pinned: false
license: mit
short_description: Transliterate historic Modi script images to Devanagari
---
# ModiTrans β Modi Script to Devanagari
Gradio demo for [`historyHulk/ModiTrans-12B-Gemma-Teacher`](https://huggingface.co/historyHulk/ModiTrans-12B-Gemma-Teacher),
a LoRA adapter on `google/gemma-3-12b-it` that transliterates scanned images
of historic Modi script into modern Devanagari text.
## Setup notes before deploying
1. **Accept the gated model license.** Visit the
[model page](https://huggingface.co/historyHulk/ModiTrans-12B-Gemma-Teacher)
while logged in and accept the access conditions. You'll also need to
accept the license for the base model
[`google/gemma-3-12b-it`](https://huggingface.co/google/gemma-3-12b-it).
2. **Add an `HF_TOKEN` secret** to this Space (Settings β Variables and
secrets) using a token from an account that has been granted access to
both gated repos.
3. **Hardware:** this Space is configured for **ZeroGPU** (`@spaces.GPU` in
`app.py`). ZeroGPU requires a PRO or verified Hugging Face account. If you
don't have ZeroGPU access, remove the `spaces` import/decorator in
`app.py` and instead select a dedicated GPU hardware tier (T4 or A10G) in
the Space settings.
## Files
- `app.py` β Gradio app + inference logic
- `requirements.txt` β Python dependencies
|