AlexZhang

Results 22 comments of AlexZhang

After I set python env, I use commands cli, the return is below, is that means I need to start some related ES service? !python /content/ragflow/deepdoc/vision/t_ocr.py --inputs /content/inputs --outputs /content/outputs...

if you have installed blink>=1.7.0, you have to remove it first by following commands: !sudo apt-get remove blinker !sudo -H pip install --ignore-installed -U blinker

Can not translate by other reason.(因安全问题不能翻译) 这个信息似乎是个bug,我翻译某些文档也遇到过这个错误,我看看能否修复这个bug。

![image](https://github.com/yihong0618/bilingual_book_maker/assets/142501/85f3c84a-723b-41e1-ac17-3bde1f87d1b1) 换了一个Gemini 付费的key,现在似乎没有报“Can not translate by other reason.(因安全问题不能翻译)”信息。

把gemini_translator.py中time.sleep修改成1秒或者3秒试试? `time.sleep(1.0) if num: t_text = str(num) + "\n" + t_text return t_text`

找了几本书,连续用Gemini付费接口测试翻译,均没有报429错误。