mirror of
https://github.com/yihong0618/bilingual_book_maker.git
synced 2025-06-05 19:15:34 +00:00
style: format code with black
This commit is contained in:
parent
0b5e5f4d08
commit
b86bbf6e73
@ -37,7 +37,7 @@ class EPUBBookLoaderHelper:
|
||||
Exception,
|
||||
on_backoff=lambda details: logger.warning(f"retry backoff: {details}"),
|
||||
on_giveup=lambda details: logger.warning(f"retry abort: {details}"),
|
||||
jitter=None
|
||||
jitter=None,
|
||||
)
|
||||
def translate_with_backoff(self, text, context_flag=False):
|
||||
return self.translate_model.translate(text, context_flag)
|
||||
|
Loading…
x
Reference in New Issue
Block a user