mirror of
https://github.com/JefferyHcool/BiliNote.git
synced 2026-05-06 20:42:52 +08:00
- 在 TRANSCRIBER_TYPE 中添加 groq 作为可选的 Apple 平台专用模型 - 新增 GROQ_TRANSCRIBER_MODEL 变量,用于指定 groq 提供的 faster-whisper模型,默认为 whisper-large-v3-turbo
23 lines
761 B
Plaintext
23 lines
761 B
Plaintext
# 通用端口配置
|
||
BACKEND_PORT=8001
|
||
FRONTEND_PORT=3015
|
||
BACKEND_HOST=0.0.0.0 # 默认为 0.0.0.0,表示监听所有 IP 地址 不建议动
|
||
|
||
# 前端访问后端用(生产环境建议写公网或宿主机 IP)
|
||
VITE_API_BASE_URL=http://127.0.0.1:8001
|
||
VITE_SCREENSHOT_BASE_URL=http://127.0.0.1:8001/static/screenshots
|
||
VITE_FRONTEND_PORT=3015
|
||
# 生产环境配置
|
||
ENV=production
|
||
STATIC=/static
|
||
OUT_DIR=./static/screenshots
|
||
IMAGE_BASE_URL=/static/screenshots
|
||
DATA_DIR=data
|
||
# FFMPEG 配置
|
||
FFMPEG_BIN_PATH=
|
||
|
||
# transcriber 相关配置
|
||
TRANSCRIBER_TYPE=fast-whisper # fast-whisper/bcut/kuaishou/mlx-whisper/groq(仅Apple平台)
|
||
WHISPER_MODEL_SIZE=base
|
||
|
||
GROQ_TRANSCRIBER_MODEL=whisper-large-v3-turbo # groq提供的faster-whisper 默认为 whisper-large-v3-turbo |