add support for GPU (cuda)

This commit is contained in:
pluja
2023-10-27 10:23:08 +02:00
parent f4484884cc
commit 5570a745f8
7 changed files with 170 additions and 22 deletions

View File

@@ -1,8 +1,11 @@
# Libretranslate Configuration
LT_LOAD_ONLY=es,en,fr
LT_LOAD_ONLY=es,ja,fr
# Whisper Configuration
WHISPER_MODELS=tiny,small
WHISHPER_HOST=localhost:8082
WHISHPER_HOST=127.0.0.1:8082
WHISHPER_GPU=false # true if you have cuda support, read https://whishper.net/guides/gpu
# Database Configuration
DB_USER=whishper
DB_PASS=whishper