feat: update requirements.txt and config.example.toml
This commit is contained in:
@@ -1,15 +1,9 @@
|
|||||||
[app]
|
[app]
|
||||||
|
|
||||||
video_source = "pexels" # "pexels" or "pixabay"
|
video_source = "pexels" # "pexels" or "pixabay"
|
||||||
|
|
||||||
# 是否隐藏配置面板
|
# 是否隐藏配置面板
|
||||||
# hide_config = false
|
hide_config = false
|
||||||
|
|
||||||
[user]
|
|
||||||
# 管理员用户名和密码,用于访问基础设置
|
|
||||||
username = "admin"
|
|
||||||
password = "admin"
|
|
||||||
email = "admin@example.com" # 添加email字段,用于身份验证
|
|
||||||
# Pexels API Key
|
# Pexels API Key
|
||||||
# Register at https://www.pexels.com/api/ to get your API key.
|
# Register at https://www.pexels.com/api/ to get your API key.
|
||||||
# You can use multiple keys to avoid rate limits.
|
# You can use multiple keys to avoid rate limits.
|
||||||
@@ -24,17 +18,18 @@
|
|||||||
# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开
|
# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开
|
||||||
pixabay_api_keys = []
|
pixabay_api_keys = []
|
||||||
|
|
||||||
# 如果你没有 OPENAI API Key,可以使用 g4f 代替,或者使用国内的 Moonshot API
|
|
||||||
# If you don't have an OPENAI API Key, you can use g4f instead
|
|
||||||
|
|
||||||
# 支持的提供商 (Supported providers):
|
# 支持的提供商 (Supported providers):
|
||||||
# openai
|
# openai
|
||||||
# moonshot (月之暗面)
|
# moonshot (月之暗面)
|
||||||
# oneapi
|
|
||||||
# g4f
|
|
||||||
# azure
|
# azure
|
||||||
# qwen (通义千问)
|
# qwen (通义千问)
|
||||||
|
# deepseek
|
||||||
# gemini
|
# gemini
|
||||||
|
# ollama
|
||||||
|
# g4f
|
||||||
|
# oneapi
|
||||||
|
# cloudflare
|
||||||
|
# ernie (文心一言)
|
||||||
llm_provider = "openai"
|
llm_provider = "openai"
|
||||||
|
|
||||||
########## Ollama Settings
|
########## Ollama Settings
|
||||||
@@ -49,7 +44,7 @@
|
|||||||
# No need to set it unless you want to use your own proxy
|
# No need to set it unless you want to use your own proxy
|
||||||
openai_base_url = ""
|
openai_base_url = ""
|
||||||
# Check your available models at https://platform.openai.com/account/limits
|
# Check your available models at https://platform.openai.com/account/limits
|
||||||
openai_model_name = "gpt-4-turbo"
|
openai_model_name = "gpt-4o-mini"
|
||||||
|
|
||||||
########## Moonshot API Key
|
########## Moonshot API Key
|
||||||
# Visit https://platform.moonshot.cn/console/api-keys to get your API key.
|
# Visit https://platform.moonshot.cn/console/api-keys to get your API key.
|
||||||
@@ -163,10 +158,6 @@
|
|||||||
# 文生视频时的最大并发任务数
|
# 文生视频时的最大并发任务数
|
||||||
max_concurrent_tasks = 5
|
max_concurrent_tasks = 5
|
||||||
|
|
||||||
# webui界面是否显示配置项
|
|
||||||
# webui hide baisc config panel
|
|
||||||
hide_config = false
|
|
||||||
|
|
||||||
|
|
||||||
[whisper]
|
[whisper]
|
||||||
# Only effective when subtitle_provider is "whisper"
|
# Only effective when subtitle_provider is "whisper"
|
||||||
@@ -201,3 +192,9 @@
|
|||||||
# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices
|
# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices
|
||||||
speech_key = ""
|
speech_key = ""
|
||||||
speech_region = ""
|
speech_region = ""
|
||||||
|
|
||||||
|
[ui]
|
||||||
|
# UI related settings
|
||||||
|
# 是否隐藏日志信息
|
||||||
|
# Whether to hide logs in the UI
|
||||||
|
hide_log = false
|
||||||
|
|||||||
@@ -1,16 +1,15 @@
|
|||||||
moviepy==2.1.1
|
moviepy==2.1.2
|
||||||
streamlit==1.40.2
|
streamlit==1.45.0
|
||||||
edge_tts==6.1.19
|
edge_tts==6.1.19
|
||||||
fastapi==0.115.6
|
fastapi==0.115.6
|
||||||
uvicorn==0.32.1
|
uvicorn==0.32.1
|
||||||
openai==1.56.1
|
openai==1.56.1
|
||||||
faster-whisper==1.1.0
|
faster-whisper==1.1.0
|
||||||
loguru==0.7.2
|
loguru==0.7.3
|
||||||
google.generativeai==0.8.3
|
google.generativeai==0.8.3
|
||||||
dashscope==1.20.14
|
dashscope==1.20.14
|
||||||
g4f==0.3.8.1
|
g4f==0.5.2.2
|
||||||
azure-cognitiveservices-speech==1.41.1
|
azure-cognitiveservices-speech==1.41.1
|
||||||
redis==5.2.0
|
redis==5.2.0
|
||||||
python-multipart==0.0.19
|
python-multipart==0.0.19
|
||||||
streamlit-authenticator==0.4.1
|
|
||||||
pyyaml
|
pyyaml
|
||||||
Reference in New Issue
Block a user