-
Notifications
You must be signed in to change notification settings - Fork 558
Expand file tree
/
Copy path.env.example
More file actions
54 lines (46 loc) · 1.67 KB
/
Copy path.env.example
File metadata and controls
54 lines (46 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Runtime paths
WORKFOLDER=./workfolder
MODEL_CACHE_DIR=./data/modelscope
CORS_ALLOW_ORIGINS=
CORS_ALLOW_ORIGIN_REGEX=
# Required API login. Generate this Argon2id hash locally as documented in README.
YOUDUB_AUTH_PASSWORD_HASH=
YOUDUB_AUTH_SESSION_TTL_SECONDS=604800
YOUDUB_AUTH_COOKIE_SECURE=false
YOUDUB_AUTH_COOKIE_SAMESITE=strict
# Device: auto, cuda, cuda:0, mps, mps:0, or cpu.
# Optional component overrides fall back to DEVICE when empty.
DEVICE=cuda
DEMUCS_DEVICE=
WHISPER_DEVICE=
# Optional explicit media binary paths when they are not on PATH.
# macOS Homebrew: the default `ffmpeg` formula lacks libass/subtitles support;
# use ffmpeg-full instead:
# FFMPEG_PATH=/opt/homebrew/opt/ffmpeg-full/bin/ffmpeg
# FFPROBE_PATH=/opt/homebrew/opt/ffmpeg-full/bin/ffprobe
# FFMPEG_PATH=C:\path\to\ffmpeg.exe
# FFPROBE_PATH=C:\path\to\ffprobe.exe
# Maximum local video upload size in bytes. Default: 4 GiB.
LOCAL_UPLOAD_MAX_BYTES=4294967296
# Maximum optional local SRT subtitle upload size in bytes. Default: 20 MiB.
LOCAL_SUBTITLE_MAX_BYTES=20971520
# OpenAI-compatible translator
OPENAI_BASE_URL=https://api.openai.com/v1
OPENAI_API_KEY=
OPENAI_MODEL=gpt-4o-mini
# FunASR
FUNASR_MODEL=iic/SenseVoiceSmall
FUNASR_VAD_MODEL=fsmn-vad
# VoxCPM
VOXCPM_MODEL=OpenBMB/VoxCPM2
VOXCPM_MODEL_DIR=
VOXCPM_LOAD_DENOISER=false
VOXCPM_CFG_VALUE=2.0
VOXCPM_INFERENCE_TIMESTEPS=10
VOXCPM_MIN_REFERENCE_MS=1200
# Optional proxy for yt-dlp. HTTPX/OpenAI SDK also reads HTTP_PROXY and
# ALL_PROXY from the process environment.
HTTP_PROXY=
# Hosts that bypass proxy (comma-separated). Set this when using a local LLM
# behind a system proxy so that localhost connections go direct.
NO_PROXY=localhost,127.0.0.1,::1