refactor: builder class name
Browse files
ocr-receipts-text-detection.py
CHANGED
@@ -29,7 +29,7 @@ _DATA = f"https://huggingface.co/datasets/TrainingDataPro/{_NAME}/resolve/main/d
|
|
29 |
_LABELS = ["receipt", "shop", "item", "date_time", "total"]
|
30 |
|
31 |
|
32 |
-
class
|
33 |
def _info(self):
|
34 |
return datasets.DatasetInfo(
|
35 |
description=_DESCRIPTION,
|
|
|
29 |
_LABELS = ["receipt", "shop", "item", "date_time", "total"]
|
30 |
|
31 |
|
32 |
+
class OcrReceiptsTextDetection(datasets.GeneratorBasedBuilder):
|
33 |
def _info(self):
|
34 |
return datasets.DatasetInfo(
|
35 |
description=_DESCRIPTION,
|