You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: settings.toml
+41-3Lines changed: 41 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,57 @@
1
1
version = "1.0"
2
2
webhooks = []
3
3
4
+
# bilive Settings
5
+
[model]
6
+
model_type = "append"# Can be pipeline, append, merge
7
+
8
+
# WARNING!: If you choose "deploy" local inference:
9
+
# 1. Please check the VRAM requirements twice!
10
+
# 2. Please make sure you have installed the Nvidia GPU driver and can check the cuda via `nvcc -V`!
11
+
# WARNING!: If you choose "api":
12
+
# due to the limitation of free tier, you should keep every video less than 30 minutes(around)
13
+
# which means your MODEL_TYPE should not be "merge".
14
+
[asr]
15
+
asr_method = "none"# can be "deploy" or "api" or "none"
16
+
whisper_api_key = ""# Apply for your own API key at https://console.groq.com/keys
17
+
inference_model = "small"# If you choose "deploy", you should download the inference model from https://openaipublic.azureedge.net/main/whisper/models/9ecf779972d90ba49c06d968637d720dd632c55bbf19d441fb42bf17a411e794/small.pt
18
+
19
+
[video]
20
+
# You can change the title as you like, eg.
21
+
# f"{artist}直播回放-{date}-{title}" - Streamer直播回放-20250328-Live title
22
+
# f"{date}-{artist}直播回放" - 20250328-Streamer直播回放
23
+
title = "{artist}直播回放-{date}-{title}"# Key words: {artist}, {date}, {title}, {source_link}
gift_price_filter = 1# The gift whose price is less than this value will be filtered, unit: RMB
26
+
reserve_for_fixing = false# If encounter MOOV crash error, delete the video or reserve for fixing
27
+
upload_line = "auto"# The upload line to be used, default None is auto detect(recommended), if you want to specify, it can be "bldsa", "ws", "tx", "qn", "bda2".
28
+
29
+
[slice]
30
+
auto_slice = false# General control
31
+
slice_duration = 60# better not exceed 300 seconds
32
+
slice_num = 2
33
+
slice_overlap = 30
34
+
slice_step = 1
35
+
min_video_size = 200# The minimum video size to be sliced (MB)
36
+
mllm_model = "gemini"# the multi-model LLMs, can be "gemini" or "zhipu" or "qwen"
37
+
zhipu_api_key = ""# Apply for your own GLM-4v-Plus API key at https://www.bigmodel.cn/invite?icode=shBtZUfNE6FfdMH1R6NybGczbXFgPRGIalpycrEwJ28%3D
38
+
gemini_api_key = ""# Apply for your own Gemini API key at https://aistudio.google.com/app/apikey
39
+
qwen_api_key = ""# Apply for your own Qwen API key at https://bailian.console.aliyun.com/?apiKey=1
GIFT_PRICE_FILTER=1# The gift whose price is less than this value will be filtered, unit: RMB
35
-
RESERVE_FOR_FIXING=False# If encounter MOOV crash error, delete the video or reserve for fixing
36
-
UPLOAD_LINE=None# The upload line to be used, default None is auto detect(recommended), if you want to specify, it can be "bldsa", "ws", "tx", "qn", "bda2".
0 commit comments