DR Live Translate

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

Autor
Eckankar
Instalaciones diarias
0
Instalaciones totales
3
Calificaciones
0 0 0
Versión
1.3.3
Creado
16/03/2025
Actualizado
02/05/2025
Tamaño
7.29 KB
Licencia
MIT
Funciona en

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.

长期地址
遇到问题?请前往 GitHub 提 Issues。