docs: update default config

This commit is contained in:
John Howe
2025-04-03 15:43:46 +08:00
parent cb689b010b
commit 19277c2d09
2 changed files with 6 additions and 2 deletions

View File

@@ -188,7 +188,7 @@ MLLM 模型主要用于自动切片后的切片标题生成,此功能默认关
#### 4. bilitool 登录
> 由于一般日志打印不出二维码效果docker 的日志不确定是否能打印等发布新image时再修改docker 版本请先参考文档[bilive](https://bilive.timerring.com),本 README 只针对源码部署),所以这步需要提前在机器上安装 [bilitool](https://github.com/timerring/bilitool):
> 由于一般日志打印不出二维码效果docker 的日志不确定是否能打印等发布新image时再修改docker 版本请先参考文档 [bilive](https://bilive.timerring.com),本 README 只针对源码部署),所以这步需要提前在机器上安装 [bilitool](https://github.com/timerring/bilitool):
```
pip install bilitool

View File

@@ -10,12 +10,15 @@ from db.conn import create_table
GPU_EXIST=True
# Can be pipeline, append, merge
MODEL_TYPE = "append"
# =============== The auto speech recognition configuration ============================
ASR_METHOD = "api" # can be "deploy" or "api" or "none"
ASR_METHOD = "none" # can be "deploy" or "api" or "none"
# If you choose "api", due to the limitation of free tier, you should keep every video less than 30 minutes(around)
# Apply for your own API key at https://console.groq.com/keys
WHISPER_API_KEY = ""
# If you choose "deploy", you should download the model from https://huggingface.co/openai/whisper-large-v3-turbo
Inference_Model = "small" # the model to be deployed
# =============== The video configuration ============================
TITLE = "{artist}直播回放-{date}-{title}"
# You can change the title as you like, eg.
@@ -25,6 +28,7 @@ DESC = "{artist}直播回放,直播间地址:{source_link} 内容仅供娱
# You can change the description as you like.
GIFT_PRICE_FILTER = 1 # The gift whose price is less than this value will be filtered, unit: RMB
RESERVE_FOR_FIXING = False # If encounter MOOV crash error, delete the video or reserve for fixing
# ============================ The video slice configuration ==================
AUTO_SLICE = False
SLICE_DURATION = 60 # better not exceed 300 seconds