add whisper
This commit is contained in:
14
whisper/.env.example
Normal file
14
whisper/.env.example
Normal file
@@ -0,0 +1,14 @@
|
||||
# 模型选择:
|
||||
# Systran/faster-whisper-large-v3 准确率最高(float16 约 6 GB 显存)
|
||||
# Systran/faster-whisper-large-v3-turbo 速度快约 8 倍(float16 约 3 GB 显存)
|
||||
WHISPER_MODEL=Systran/faster-whisper-large-v3
|
||||
|
||||
# 服务只监听本机,避免暴露公网
|
||||
WHISPER_PORT=9000
|
||||
|
||||
WHISPER_DEVICE=cuda
|
||||
WHISPER_COMPUTE_TYPE=float16
|
||||
WHISPER_CPU_THREADS=4
|
||||
|
||||
# -1 表示模型常驻显存;空闲自动卸载可改为 600
|
||||
WHISPER_TTL=-1
|
||||
Reference in New Issue
Block a user