Argos Translate API compatible with DeepL API
It was created primarily for use in Misskey/Sharkey.
Warning
Do not use NumPy 2.0 due to dependency issues.
Whichever method you use, the first time you use it, it will take time because the model needs to be downloaded.
You can use DeepArgos by executing the following command.
$ mkdir deepargos
$ cd deepargos
$ wget -O compose.yml https://raw.githubusercontent.com/amsc-tech/DeepArgos/main/compose.yml
$ docker compose up
To build and run DeepArgos yourself, execute the following command:
$ mkdir deepargos
$ cd deepargos
$ git clone https://github.com/amsc-tech/DeepArgos.git .
Next, comment out image: in compose.yml and add build: . uncomment out and execute the following command
$ docker compose build
Python and Rust, GCC or MSVC, and PDM are required.
execute the following command:
$ mkdir deepargos
$ cd deepargos
$ git clone https://github.com/amsc-tech/DeepArgos.git .
$ pdm install
$ pdm run serve # If you want to use Gunicorn as a worker, `pdm run gunicorn:serve` instead of this command
Important
If you want to use it with Misskey, you need to rewrite some of the backend code.
If you do not want anyone to use the API without your permission, you can use environment variables (or .env) to make the AuthKey mandatory in order to use the API.
It is recommended to use uuid or similar for the authkey.
Important
AuthKey cannot be set when API mode is DeepLX :(
DA_AUTHKEY="authkey"
Tip
If no AuthKey is set, the API will ignore the AuthKey parameter.
Content type
Image
Digest
sha256:c2145d608…
Size
5.8 GB
Last updated
about 2 years ago
docker pull amasecocoa/deepargos