mirror of
https://github.com/yihong0618/bilingual_book_maker.git
synced 2025-06-06 11:35:49 +00:00
This commit is contained in:
parent
b41827717f
commit
ffb76baa21
@ -347,6 +347,7 @@ class EPUBBookLoader(BaseBookLoader):
|
|||||||
index = self._process_paragraph(p, index, p_to_save_len)
|
index = self._process_paragraph(p, index, p_to_save_len)
|
||||||
# pbar.update(delta) not pbar.update(index)?
|
# pbar.update(delta) not pbar.update(index)?
|
||||||
pbar.update(1)
|
pbar.update(1)
|
||||||
|
print()
|
||||||
if self.is_test and index >= self.test_num:
|
if self.is_test and index >= self.test_num:
|
||||||
break
|
break
|
||||||
|
|
||||||
@ -375,6 +376,7 @@ class EPUBBookLoader(BaseBookLoader):
|
|||||||
for i in all_items
|
for i in all_items
|
||||||
)
|
)
|
||||||
pbar = tqdm(total=self.test_num) if self.is_test else tqdm(total=all_p_length)
|
pbar = tqdm(total=self.test_num) if self.is_test else tqdm(total=all_p_length)
|
||||||
|
print()
|
||||||
index = 0
|
index = 0
|
||||||
p_to_save_len = len(self.p_to_save)
|
p_to_save_len = len(self.p_to_save)
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user