visuddhinanda 17d992c30e openai-proxy -> openai-proxy-url há 9 meses atrás
..
ai_translate 17d992c30e openai-proxy -> openai-proxy-url há 9 meses atrás
docker 51aecfd525 :bug: use root user inside container há 9 meses atrás
.gitignore 50dfb74db1 add .stop há 10 meses atrás
README.md d9f766874b add ai_translate_cn há 9 meses atrás
config.orig.toml 921e246bd4 :wrench: add ai-translate(python) openai-proxy(nodejs) support há 9 meses atrás
pyproject.toml 3c68015ad8 :bug: fix setuptools bug há 10 meses atrás
run.sh 9c4414091e :wrench: add ai-translate container há 10 meses atrás

README.md

Usage

# initial python3 virtual env folder
$ python3 -m venv $HOME/tmp/python3
# load virtual env vars
$ source $HOME/tmp/python3/bin/activate
# install dependencies
> python3 -m pip install -e .

> python3 -m ai_translate -h
> python3 -m ai_translate -d -c config.toml -n worker-us-1 -q ai_translate_us
> python3 -m ai_translate -d -c config.toml -n worker-cn-1 -q ai_translate_cn

# exit the virtual env
> deactivate