diff --git a/test/benchmark_wd2.py b/test/benchmark_wd2.py index 2c4aec0..c2c49eb 100644 --- a/test/benchmark_wd2.py +++ b/test/benchmark_wd2.py @@ -30,8 +30,8 @@ def stream_text_by_article_streaming(file_path: str) -> Generator[Tuple[Any, Lis p = 0 i = 0 with open('/dev/null', 'w') as of: - p = p + 1 for _, texts in stream_text_by_article_streaming(sys.argv[1]): + p = p + 1 i = i + 1 last_text = "" for text in texts: