blinoff commited on
Commit
162d0e2
1 Parent(s): f8313c6

Update kinopoisk.py

Browse files
Files changed (1) hide show
  1. kinopoisk.py +10 -1
kinopoisk.py CHANGED
@@ -1,8 +1,17 @@
1
  import datasets
2
  import pandas as pd
3
 
 
 
 
 
4
  class Kinopoisk(datasets.GeneratorBasedBuilder):
5
- BUILDER_CONFIGS = []
 
 
 
 
 
6
 
7
  def _info(self):
8
  return datasets.DatasetInfo(
 
1
  import datasets
2
  import pandas as pd
3
 
4
+ class KinopoiskReviewsConfig(datasets.BuilderConfig):
5
+ def __init__(self, **kwargs):
6
+ super(KinopoiskReviewsConfig, self).__init__(version=datasets.Version("1.0.0", ""), **kwargs)
7
+
8
  class Kinopoisk(datasets.GeneratorBasedBuilder):
9
+ BUILDER_CONFIGS = [
10
+ KinopoiskReviewsConfig(
11
+ name="plain_text",
12
+ description="Plain text",
13
+ )
14
+ ]
15
 
16
  def _info(self):
17
  return datasets.DatasetInfo(