yihong0618 / bilingual_book_maker

Make bilingual epub books Using AI translate
MIT License
6.91k stars 1k forks source link

chore: setup default backoff for tranlate method #387

Closed STRRL closed 4 months ago

STRRL commented 4 months ago

sometimes the translating progress would be interrupted by API failure, but after resuming, I get a confusing result about the output #386

This PR append default backoff policy for translation, it would relieve that issue.

yihong0618 commented 4 months ago

@STRRL nice, will merge after lint

pip install -U black black .

STRRL commented 4 months ago

updated! PTAL @yihong0618

yihong0618 commented 4 months ago

others LGTM

STRRL commented 4 months ago

Updated! I have no idea about python package management and what setup.py is, if it requires other changes, please let me know!

yihong0618 commented 4 months ago

Nice thanks will create a new release