lhoestq HF staff commited on
Commit
11208e8
·
1 Parent(s): 05daa8e

missing import

Browse files
Files changed (1) hide show
  1. analyze.py +2 -1
analyze.py CHANGED
@@ -1,3 +1,4 @@
 
1
  from typing import Any, Iterable, Literal, Optional, TypedDict, TypeVar, Union, overload
2
 
3
  from datasets import Features, Value, get_dataset_config_info
@@ -7,7 +8,7 @@ from presidio_analyzer import AnalyzerEngine, BatchAnalyzerEngine, RecognizerRes
7
 
8
  Row = dict[str, Any]
9
  T = TypeVar("T")
10
- BATCH_SIZE = 10
11
  batch_analyzer: Optional[BatchAnalyzerEngine] = None
12
 
13
 
 
1
+ from itertools import count
2
  from typing import Any, Iterable, Literal, Optional, TypedDict, TypeVar, Union, overload
3
 
4
  from datasets import Features, Value, get_dataset_config_info
 
8
 
9
  Row = dict[str, Any]
10
  T = TypeVar("T")
11
+ BATCH_SIZE = 1
12
  batch_analyzer: Optional[BatchAnalyzerEngine] = None
13
 
14