语音识别阶段出错:Bad Request: No such model/language/tier combination found. You could try the "general" model (language: ja, base tier).[Deepgram.com]:
Traceback (most recent call last):
File "deepgram\clients\common\v1\abstract_sync_rest.py", line 227, in _handle_request
File "httpx\_models.py", line 829, in raise_for_status
httpx.HTTPStatusError: Client error '400 Bad Request' for url 'https://api.deepgram.com/v1/listen?diarize=true&language=ja&model=tiny¶graphs=true&punctuate=true&smart_format=true&utt_split=0.2&utterances=true'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "videotrans\task\job.py", line 97, in run
File "videotrans\task\_speech2text.py", line 93, in recogn
File "videotrans\recognition\__init__.py", line 230, in run
File "videotrans\recognition\_base.py", line 70, in run
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 400, in
File "concurrent\futures\_base.py", line 439, in result
File "concurrent\futures\_base.py", line 391, in __get_result
File "tenacity\__init__.py", line 480, in call
File "videotrans\recognition\_deepgram.py", line 81, in _exec
File "deepgram\clients\listen\v1\rest\client.py", line 260, in transcribe_file
File "deepgram\clients\common\v1\abstract_sync_rest.py", line 123, in post
File "deepgram\clients\common\v1\abstract_sync_rest.py", line 242, in _handle_request
deepgram.clients.common.v1.errors.DeepgramApiError: DeepgramApiError: Bad Request: No such model/language/tier combination found. You could try the "general" model (language: ja, base tier). (Status: 400)
=
Windows-10-10.0.22621-SP0
version:v3.80
frozen:True
language:zh