bugfix.
This commit is contained in:
parent
7a61fd38d9
commit
e950754c4a
@ -30,8 +30,8 @@ def stream_text_by_article_streaming(file_path: str) -> Generator[Tuple[Any, Lis
|
|||||||
p = 0
|
p = 0
|
||||||
i = 0
|
i = 0
|
||||||
with open('/dev/null', 'w') as of:
|
with open('/dev/null', 'w') as of:
|
||||||
p = p + 1
|
|
||||||
for _, texts in stream_text_by_article_streaming(sys.argv[1]):
|
for _, texts in stream_text_by_article_streaming(sys.argv[1]):
|
||||||
|
p = p + 1
|
||||||
i = i + 1
|
i = i + 1
|
||||||
last_text = ""
|
last_text = ""
|
||||||
for text in texts:
|
for text in texts:
|
||||||
|
Loading…
Reference in New Issue
Block a user