{% extends 'base.html' %} {% block content %}

{% block title %} About {% endblock %}


This is a frontend to No Language Left Behind (NLLB) models from Meta/Facebook. Please credit/cite the original work:

REST API

HTTP Clients may send these parameters in three ways:

  1. Query parameters (GET)
    For example:

  2. URL encoded form (POST)

    $ curl --data "source=Comment allez-vous?" --data "source=Bonne journée" \
    --data "src_lang=fra_Latn" --data "tgt_lang=eng_Latn" \
     http://localhost:6060/translate
    
  3. JSON body (POST)

    $ curl -H "Content-Type: application/json" -X POST \
     http://localhost:6060/translate \
    --data '{"source": ["Comment allez-vous?"], "src_lang": "fra_Latn", "tgt_lang": "kan_Knda"}'
    

System Info

{% for key, value in sys_info.items() %} {% endfor %}
{{ key }} {{ value }}
{% endblock %}