Skip to content

Commit 19277c2

Browse files
committed
docs: update default config
1 parent cb689b0 commit 19277c2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ MLLM 模型主要用于自动切片后的切片标题生成,此功能默认关
188188

189189
#### 4. bilitool 登录
190190

191-
> 由于一般日志打印不出二维码效果(docker 的日志不确定是否能打印,等发布新image时再修改,docker 版本请先参考文档[bilive](https://bilive.timerring.com),本 README 只针对源码部署),所以这步需要提前在机器上安装 [bilitool](https://github.com/timerring/bilitool):
191+
> 由于一般日志打印不出二维码效果(docker 的日志不确定是否能打印,等发布新image时再修改,docker 版本请先参考文档 [bilive](https://bilive.timerring.com),本 README 只针对源码部署),所以这步需要提前在机器上安装 [bilitool](https://github.com/timerring/bilitool):
192192
193193
```
194194
pip install bilitool

src/config.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,15 @@
1010
GPU_EXIST=True
1111
# Can be pipeline, append, merge
1212
MODEL_TYPE = "append"
13+
1314
# =============== The auto speech recognition configuration ============================
14-
ASR_METHOD = "api" # can be "deploy" or "api" or "none"
15+
ASR_METHOD = "none" # can be "deploy" or "api" or "none"
1516
# If you choose "api", due to the limitation of free tier, you should keep every video less than 30 minutes(around)
1617
# Apply for your own API key at https://console.groq.com/keys
1718
WHISPER_API_KEY = ""
19+
# If you choose "deploy", you should download the model from https://huggingface.co/openai/whisper-large-v3-turbo
1820
Inference_Model = "small" # the model to be deployed
21+
1922
# =============== The video configuration ============================
2023
TITLE = "{artist}直播回放-{date}-{title}"
2124
# You can change the title as you like, eg.
@@ -25,6 +28,7 @@
2528
# You can change the description as you like.
2629
GIFT_PRICE_FILTER = 1 # The gift whose price is less than this value will be filtered, unit: RMB
2730
RESERVE_FOR_FIXING = False # If encounter MOOV crash error, delete the video or reserve for fixing
31+
2832
# ============================ The video slice configuration ==================
2933
AUTO_SLICE = False
3034
SLICE_DURATION = 60 # better not exceed 300 seconds

0 commit comments

Comments
 (0)