Skip to content

Commit

Permalink
Update config.example.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Huanshere committed Sep 12, 2024
1 parent 7a23a99 commit b81c697
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions config.example.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# 建议在 streamlit 页面中调整设置
# Recommended to adjust settings in the streamlit page

## ======================== 基本设置 ======================== ##
## ======================== Basic Settings ======================== ##

Expand All @@ -13,7 +12,7 @@

# Replicate API 设置
# Replicate API settings for using whisperX
REPLICATE_API_TOKEN = "xxx"
REPLICATE_API_TOKEN = "r8_xxx"

# 语言设置,用自然语言描述
# Language settings, described in natural language
Expand Down Expand Up @@ -59,8 +58,8 @@
# Number of GPT multi-threads
MAX_WORKERS = 6

# 每一步的 LLM 模型选择,其中 3_2 和 5 只建议 sonnet,换模型会不稳定报错
# LLM model selection for each step, only sonnet is recommended for 3_2 and 5, changing models may cause instability and errors
# 每一步的 LLM 模型选择
# LLM model selection for each step
step3_2_split_model = MODEL[0]
step4_1_summarize_model = MODEL[0]
step4_2_translate_direct_model = MODEL[0]
Expand Down Expand Up @@ -108,7 +107,6 @@
# "ja": "ja_core_news_md",
}


# 使用空格分割的语言
# Languages that split with space
LANGUAGE_SPLIT_WITH_SPACE = ['en', 'es', 'fr', 'de', 'it', 'pt', 'nl', 'el', 'ru', 'ar', 'hi', 'pl', 'uk', 'vi', 'tr', 'ro', 'da', 'fi', 'hu', 'nb', 'sv']
Expand Down

0 comments on commit b81c697

Please sign in to comment.