jesselau76 / ebook-GPT-translator

Enjoy reading with your favorite style.
https://jesselau.com
MIT License
1.63k stars 210 forks source link

openai.error.APIError #3

Open SamClarks opened 1 year ago

SamClarks commented 1 year ago

当出现openai.error.APIError: HTTP code 502 from API时,书籍已经翻译到第六章,那么后续该怎么处理才能不从头开始翻译呢?

jesselau76 commented 1 year ago

如果用的是最新的版本,有进度json文件在目录下。直接再次运行即可从中断处继续翻译。

On Mon, Mar 20, 2023 at 7:34 PM SamClarks @.***> wrote:

当出现openai.error.APIError: HTTP code 502 from API时,书籍已经翻译到第六章,那么后续该怎么处理才能不从头开始翻译呢?

— Reply to this email directly, view it on GitHub https://github.com/jesselau76/pdf-epub-GPT-translator/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJUSHGHFLKHCXZJMERIYSYTW47273ANCNFSM6AAAAAAWAVCOH4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

SamClarks commented 1 year ago

重新尝试还是连不上API,是不是API 服务器的暂时故障或过载造成的?

jesselau76 commented 1 year ago

那可能是API暂时屏蔽了部分ip.我这里是没有问题的。

On Mon, Mar 20, 2023 at 8:02 PM SamClarks @.***> wrote:

重新尝试还是连不上API,是不是API 服务器的暂时故障或过载造成的?

— Reply to this email directly, view it on GitHub https://github.com/jesselau76/pdf-epub-GPT-translator/issues/3#issuecomment-1475719019, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJUSHGBGRXG6RXUPLY5MGHDW476JBANCNFSM6AAAAAAWAVCOH4 . You are receiving this because you commented.Message ID: @.***>