Because I am a student, I could not afford the fee of Apple Developer, so the binary is not code-signed.
NLLBTranslator_NLLBTranslateServer.Demo.mp4
Google Translate API are convenient to use, but people may concern about "privacy" since data must be send to the remote to do the translation work
Place the binary alongside with your model folder, "The File and Folder Name" must be the same as the picture
In terminal
- type
sudo chmod 777 path/to/NTS_darwinto allow the executable to run and fetch nllb files - type
xattr -cr path/to/NTS_darwinto eliminate warning from Apple Signature - type
./NTS_darwinto start server
Everything is now ready
- http://127.0.0.1:8080/ : accept GET request, return current server status
- http://127.0.0.1:8080/help : accept GET request, return help message
- http://127.0.0.1:8080/translate: accept POST request for translation, please contain the fields within the following picture
Please go to this link and download, the things that you would need are prepared for you 😃.

