Please refer to main github reposity for a complete transtreaming documentation
Move to europa directory
$ cd europa
Create virtual env (optional)
Install the dependencies
$ pip install -r requirements.txt
run the flask app
$ python -m flask app.py
HTTP VERB | DESCRIPTION | ENDPOINT |
---|---|---|
GET | Get languanges | v1/languages |
POST | Take the audio, source & destination and translate | v1/transcripe_and_translate |
POST | Take the text, source & destination and translate | v1/translate |
POST | Take, uid, roomid and language and add the user | v1/users |
Server Listen on: translate
Receive
{
"text": "",
"roomid: "",
"uid": "",
"src": "en"
}
Client Listen on: {uid}
Receive
{
"translated_text": "hello"
}
This software is licensed under the MIT License (MIT). View the license.