├── .env.sample ├── .gitignore ├── .pre-commit-config.yaml ├── LICENSE ├── README.md ├── app.py ├── examples ├── README.md ├── demo-en_zh.png ├── demo-zh_en.png ├── example_script.py └── sample-texts │ ├── data_points_samples.json │ ├── sample-long1.txt │ └── sample-short1.txt ├── pyproject.toml ├── requirements.txt ├── src └── translation_agent │ ├── __init__.py │ └── utils.py └── tests └── test_agent.py /.env.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pisces76/translation-agent-UI/HEAD/.env.sample -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pisces76/translation-agent-UI/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pisces76/translation-agent-UI/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pisces76/translation-agent-UI/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pisces76/translation-agent-UI/HEAD/README.md -------------------------------------------------------------------------------- /app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pisces76/translation-agent-UI/HEAD/app.py -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pisces76/translation-agent-UI/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/demo-en_zh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pisces76/translation-agent-UI/HEAD/examples/demo-en_zh.png -------------------------------------------------------------------------------- /examples/demo-zh_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pisces76/translation-agent-UI/HEAD/examples/demo-zh_en.png -------------------------------------------------------------------------------- /examples/example_script.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pisces76/translation-agent-UI/HEAD/examples/example_script.py -------------------------------------------------------------------------------- /examples/sample-texts/data_points_samples.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pisces76/translation-agent-UI/HEAD/examples/sample-texts/data_points_samples.json -------------------------------------------------------------------------------- /examples/sample-texts/sample-long1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pisces76/translation-agent-UI/HEAD/examples/sample-texts/sample-long1.txt -------------------------------------------------------------------------------- /examples/sample-texts/sample-short1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pisces76/translation-agent-UI/HEAD/examples/sample-texts/sample-short1.txt -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pisces76/translation-agent-UI/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pisces76/translation-agent-UI/HEAD/requirements.txt -------------------------------------------------------------------------------- /src/translation_agent/__init__.py: -------------------------------------------------------------------------------- 1 | from .utils import translate 2 | -------------------------------------------------------------------------------- /src/translation_agent/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pisces76/translation-agent-UI/HEAD/src/translation_agent/utils.py -------------------------------------------------------------------------------- /tests/test_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pisces76/translation-agent-UI/HEAD/tests/test_agent.py --------------------------------------------------------------------------------