Jeremy Zheng db981ee747 :loud_sound: add connection debug hace 10 meses
..
ai_translate db981ee747 :loud_sound: add connection debug hace 10 meses
.gitignore 50dfb74db1 add .stop hace 10 meses
Dockerfile fc97a97679 :wrench: add shell env support hace 10 meses
README.md 6fdeee749a ai_translate_cn hace 10 meses
build.sh 9c4414091e :wrench: add ai-translate container hace 10 meses
config.orig.toml 395f3ed07a add api-url hace 10 meses
pyproject.toml 9c4414091e :wrench: add ai-translate container hace 10 meses
run.sh 9c4414091e :wrench: add ai-translate container hace 10 meses
shell.sh fc97a97679 :wrench: add shell env support hace 10 meses

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_cn

# exit the virtual env
> deactivate