Spaces:
Running
Running
|
Download README.md from krishna96k/indictrans2-api: direct link, hf CLI and curl.
- Browser
- Download file 398 Bytes
-
https://huggingface.co/spaces/krishna96k/indictrans2-api/resolve/main/README.md
- Command line
-
hf download hf://spaces/krishna96k/indictrans2-api/README.md
-
curl -L -o README.md https://huggingface.co/spaces/krishna96k/indictrans2-api/resolve/main/README.md
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"}'