Spaces:
Sleeping
Sleeping
missing import
Browse files- 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 =
|
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 |
|