Skip to content

Commit d66c685

Browse files
committed
fix: black the lint
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 parent 7d6bedb commit d66c685

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

book_maker/loader/epub_loader.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,9 @@ def _extract_paragraph(self, p):
221221
def _process_paragraph(self, p, new_p, index, p_to_save_len, thread_safe=False):
222222
if self.resume and index < p_to_save_len:
223223
p.string = self.p_to_save[index]
224-
new_p.string = self.p_to_save[index] # Fix: also update new_p to cached translation
224+
new_p.string = self.p_to_save[
225+
index
226+
] # Fix: also update new_p to cached translation
225227
else:
226228
t_text = ""
227229
if self.batch_flag:

book_maker/translator/groq_translator.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
from os import linesep
44
from itertools import cycle
55

6-
76
GROQ_MODEL_LIST = [
87
"llama3-8b-8192",
98
"llama3-70b-8192",

book_maker/translator/xai_translator.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from openai import OpenAI
22
from .chatgptapi_translator import ChatGPTAPI
33

4-
54
XAI_MODEL_LIST = [
65
"grok-beta",
76
]

0 commit comments

Comments
 (0)