#4178 TaskCfgSTS(is_cuda=False, uuid='79106229df', cache_folder=None, target_dir='c:/users/admin/videos/pyvideotrans/translate

2402:800* Posted at: 18 hours ago 👁22

Trans Error [Gemini AI] This model is currently experiencing high demand. Spikes in demand are usually temporary. Please try again later.
Traceback (most recent call last):
File "videotrans\translator\_base.py", line 97, in run
File "videotrans\translator\_base.py", line 161, in _run_srt
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[]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\job.py", line 173, in run
File "videotrans\task\_translate_srt.py", line 44, in trans
File "videotrans\translator\__init__.py", line 1029, in run
File "videotrans\translator\_base.py", line 100, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_gemini.py", line 124, in _item_task
RuntimeError: This model is currently experiencing high demand. Spikes in demand are usually temporary. Please try again later.
TaskCfgSTS(is_cuda=False, uuid='79106229df', cache_folder=None, target_dir='c:/users/admin/videos/pyvideotrans/translate', source_language=None, source_language_code='Portuguese', source_sub='D:/bao chua/172.srt', source_wav=None, source_wav_output=None, target_language=None, target_language_code='Portuguese', target_sub='c:/users/admin/videos/pyvideotrans/translate/172.Portuguese.srt', target_wav=None, target_wav_output=None, name='D:/bao chua/172.srt', noextname='172', basename='172.srt', ext='srt', dirname='D:/bao chua', shound_del_name=None, translate_type=5)


=
system:Windows-10-10.0.26100-SP0
version:v3.99
frozen:True
language:en
root_dir:E:/pyvideo

1 Replies

This error is caused by Gemini AI's service being temporarily overloaded or rate-limited.

Solution:

  1. Wait and Retry: The error message indicates high demand is usually temporary. Wait a few minutes and try the translation task again.
  2. Reduce Request Rate: Go to Menu -> Tools/Options -> Advanced Options -> Subtitle Translation Adjustment. Increase the Pause seconds after translation value (e.g., to 5 or 10 seconds) and reduce the AI translation channel subtitle lines per batch value (e.g., to 10 or 5). This slows down the requests to Gemini.
  3. Switch Translation Channel: If the issue persists, consider temporarily using a different translation channel, such as DeepSeek or OpenAI (if you have an API key).

Please refer to the relevant documentation:

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.

Related resource