Datasets:

Modalities:
Image
Text
Size:
< 1K
Libraries:
Datasets
mishig HF staff commited on
Commit
829a224
·
1 Parent(s): 8e7ac0f

Change config class name

Browse files
Files changed (1) hide show
  1. fixtures_image_utils.py +3 -3
fixtures_image_utils.py CHANGED
@@ -16,7 +16,7 @@ import textwrap
16
  import datasets
17
  _CITATION = """\\n"""
18
  _DESCRIPTION = """\\n"""
19
- class FixturesOCRConfig(datasets.BuilderConfig):
20
  """BuilderConfig for fixtures OCR"""
21
  def __init__(
22
  self,
@@ -25,7 +25,7 @@ class FixturesOCRConfig(datasets.BuilderConfig):
25
  task_templates=None,
26
  **kwargs,
27
  ):
28
- super(FixturesOCRConfig, self).__init__(
29
  version=datasets.Version("1.9.0", ""), **kwargs
30
  )
31
  self.data_url = data_url
@@ -34,7 +34,7 @@ class FixturesOCRConfig(datasets.BuilderConfig):
34
  class FixturesOCR(datasets.GeneratorBasedBuilder):
35
  """Fixtures for OCR models. Includes 2 images."""
36
  BUILDER_CONFIGS = [
37
- FixturesOCRConfig(
38
  name="image",
39
  description=textwrap.dedent(""),
40
  url="",
 
16
  import datasets
17
  _CITATION = """\\n"""
18
  _DESCRIPTION = """\\n"""
19
+ class FixturesImageUtilsConfig(datasets.BuilderConfig):
20
  """BuilderConfig for fixtures OCR"""
21
  def __init__(
22
  self,
 
25
  task_templates=None,
26
  **kwargs,
27
  ):
28
+ super(FixturesImageUtilsConfig, self).__init__(
29
  version=datasets.Version("1.9.0", ""), **kwargs
30
  )
31
  self.data_url = data_url
 
34
  class FixturesOCR(datasets.GeneratorBasedBuilder):
35
  """Fixtures for OCR models. Includes 2 images."""
36
  BUILDER_CONFIGS = [
37
+ FixturesImageUtilsConfig(
38
  name="image",
39
  description=textwrap.dedent(""),
40
  url="",