router / README.md
nurfarah57's picture
Update README.md
2f928c1 verified

A newer version of the Gradio SDK is available: 6.13.0

Upgrade
metadata
title: Router
emoji: 💻
colorFrom: pink
colorTo: green
sdk: gradio
sdk_version: 5.44.1
app_file: app.py
pinned: false
license: mit

Somali Agri Router (CPU-only)

POST /ask Body: {"question_so": ""} Returns: {"answer_so": ""}

This Space runs:

  • AgriParam (bharatgenai/AgriParam) for agronomy answers
  • NLLB-200 (facebook/nllb-200-distilled-600M) for Somali <-> English
  • CPU-only with disk offload (accelerate), so it's slow but functional.

Test: curl -X POST https://-.hf.space/ask
-H "content-type: application/json"
-d '{"question_so":"Sidee looga hortagaa qudhunka jilicsan ee basasha?"}'

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference