DR Live Translate

Live-translates subtitles on DR.dk using a LLM.

目前为 2025-03-16 提交的版本。查看 最新版本

作者
Eckankar
评分
0 0 0
版本
1.0.0
创建于
2025-03-16
更新于
2025-03-16
大小
3.6 KB
许可证
MIT
适用于

This script requires access to a large language model, that can help it translate the subtitles.

You configure this by changing the LLM_PROVIDER_BASE and LLM_MODEL in the beginning of the script, to point towards an OpenAI compatible API.


If you want to run your own translation model locally, my recommendation is to set up LM Studio. You'll need to go into power user/developer mode. Then you can download the model you want into it (in the Discover tab), and enable the API (in the Developer tab). You'll need to enable CORS.

Once you have it up and running, copy the API address shown on the Developer tab. Remember to add /v1 at the end.