:
{'text': '你好啊,我亲爱的朋友,希望你的每一天都是美好愉快的!', 'role': 'alloy', 'filename': 'E:/yinwenzhuan/win-pyvideotrans-v4.15/tmp/26484/1791190756.7714622-openai.wav', 'tts_type': 22}
Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 21, in run
File "videotrans\tts\__init__.py", line 122, in run
File "videotrans\tts\_base.py", line 125, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\tts\_openaitts.py", line 28, in _run
File "openai\_client.py", line 194, in init
openai.OpenAIError: Missing credentials. Please pass an api_key, workload_identity, admin_api_key, or set the OPENAI_API_KEY or OPENAI_ADMIN_KEY environment variable.
=
system:Windows-10-10.0.19045-SP0
version:v4.15
frozen:True
language:zh_CN
root_dir:E:/yinwenzhuan/win-pyvideotrans-v4.15