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

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