#504 tenacity.RetryError: RetryError[<Future at 0x1fa0baed690 state=finished raised InternalServerError>]

*79.187* Posted at: 20 days ago 👁38

翻译字幕阶段出错:Error code: 503 - [{'error': {'code': 503, 'message': 'The model is overloaded. Please try again later.', 'status': 'UNAVAILABLE'}}]:Traceback (most recent call last):

File "tenacity\__init__.py", line 480, in __call__

File "videotrans\translator\_gemini.py", line 60, in _item_task

File "openai\_utils\_utils.py", line 287, in wrapper

File "openai\resources\chat\completions\completions.py", line 1150, in create

File "openai\_base_client.py", line 1259, in post

File "openai\_base_client.py", line 1047, in request

openai.InternalServerError: Error code: 503 - [{'error': {'code': 503, 'message': 'The model is overloaded. Please try again later.', 'status': 'UNAVAILABLE'}}]

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

File "videotrans\task\job.py", line 109, in run

File "videotrans\task\_translate_srt.py", line 48, in trans

File "videotrans\translator\__init__.py", line 865, in run

File "videotrans\translator\_base.py", line 78, in run

File "videotrans\translator\_base.py", line 94, in _run_text

File "tenacity\__init__.py", line 338, in wrapped_f

File "tenacity\__init__.py", line 477, in __call__

File "tenacity\__init__.py", line 378, in iter

File "tenacity\__init__.py", line 421, in exc_check

tenacity.RetryError: RetryError[]

=====

Windows-10-10.0.22631-SP0

version:v3.79

frozen:True

language:zh

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Donate: https://ko-fi.com/jianchang512

Trending Questions