LibreTranslate – 可离线使用的高效可靠开源翻译自托管平台

LibreTranslate 是一个完全开源的机器翻译平台,无需联网 即可使用,让您彻底摆脱对 Google 或 Azure 等商业服务商的依赖。它采用强大的 Argos Translate 开源翻译引擎,为您提供可靠、高效的翻译服务。

file

安装

只需几行设置即可运行您自己的 API 服务器!

确保已经安装了 Python(推荐 3.8 或更高版本),然后运行:

pip install libretranslate
libretranslate [args]

然后在浏览器中打开 http://localhost:5000

注意: 请根据您的具体情况替换 [args] 为合适的命令行参数。

Docker

除了直接安装 Python 运行之外,还可以使用 Docker 容器来运行 LibreTranslate。

Linux/macOS:

./run.sh [args]

Windows:

run.bat [args]

注意: 请根据您的具体需求加入相应的命令行参数 [args].

官方链接

Comments

No comments yet. Why don’t you start the discussion?

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注