mirror of
https://github.com/linyqh/NarratoAI.git
synced 2026-01-25 13:18:20 +00:00
refactor: 更新文本 API密钥
- 将 OpenAI 的 API 密钥从具体的值替换为占位符 "sk-xxx" - 此修改旨在保护敏感信息,避免在代码中直接暴露真实密钥
This commit is contained in:
parent
fef3b3c8fd
commit
afeeb7c516
@ -231,7 +231,7 @@ def generate_narration(markdown_content, api_key, base_url, model):
|
||||
|
||||
if __name__ == '__main__':
|
||||
text_provider = 'openai'
|
||||
text_api_key = "sk-6f7bb9d1cbee4012921268ecfe733851"
|
||||
text_api_key = "sk-xxx"
|
||||
text_model = "deepseek-reasoner"
|
||||
text_base_url = "https://api.deepseek.com"
|
||||
video_frame_description_path = "/Users/apple/Desktop/home/NarratoAI/storage/temp/analysis/frame_analysis_20250508_1139.json"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user