indictrans2-api / README.md
krishnacharandaskamble09-cloud
Fixed IndicTrans2 API - tok.src_lang set before tokenization
08d98ed
|
Raw History Blame Contribute Delete
398 Bytes
metadata
title: IndicTrans2 Translation API
emoji: 🚀
colorFrom: blue
colorTo: blue
sdk: docker
app_port: 7860
pinned: false

IndicTrans2 Translation API

English ↔ 12 Indian languages.

Usage

curl -X POST https://krishna96k-indictrans2-api.hf.space/translate \
  -H "Content-Type: application/json" \
  -d '{"text": "Good morning", "src_lang": "eng_Latn", "tgt_lang": "hin_Deva"}'