Closed ganfanghong closed 1 year ago
@ganfanghong
print(ts.translate_text(text,'auto',dest))
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\translators\server.py", line 4902, in translate_text
raise TranslatorError
You can use print(ts.translate_text(query_text=text, translator='bing', from_language='auto', to_language=dest))
.
Debug link https://github.com/UlionTse/translators/blob/9b613e386356b6e23616997447d72cecebd9e836/translators/server.py#L4901
Debug Tips
What happened?
translators部署后 提示 translators.server.TranslatorError
APP Version
0.0.1(example)
Python Version
3.9 (Default)
Runtime Environment
Windows 10
Country/Region
Qatar(example)
Relevant log output
Screenshots
Code of Conduct