system HF staff commited on
Commit
7f6f2d9
1 Parent(s): 3a3ff15

Update files from the datasets library (from 1.4.0)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.4.0

Files changed (1) hide show
  1. ttc4900.py +4 -2
ttc4900.py CHANGED
@@ -18,12 +18,14 @@
18
  from __future__ import absolute_import, division, print_function
19
 
20
  import csv
21
- import logging
22
  import os
23
 
24
  import datasets
25
 
26
 
 
 
 
27
  _DESCRIPTION = """\
28
  The data set is taken from kemik group
29
  http://www.kemik.yildiz.edu.tr/
@@ -108,7 +110,7 @@ class TTC4900(datasets.GeneratorBasedBuilder):
108
 
109
  def _generate_examples(self, filepath):
110
  """Generate TTC4900 examples."""
111
- logging.info("⏳ Generating examples from = %s", filepath)
112
  with open(filepath, encoding="utf-8") as f:
113
  rdr = csv.reader(f, delimiter=",")
114
  next(rdr)
 
18
  from __future__ import absolute_import, division, print_function
19
 
20
  import csv
 
21
  import os
22
 
23
  import datasets
24
 
25
 
26
+ logger = datasets.logging.get_logger(__name__)
27
+
28
+
29
  _DESCRIPTION = """\
30
  The data set is taken from kemik group
31
  http://www.kemik.yildiz.edu.tr/
 
110
 
111
  def _generate_examples(self, filepath):
112
  """Generate TTC4900 examples."""
113
+ logger.info("⏳ Generating examples from = %s", filepath)
114
  with open(filepath, encoding="utf-8") as f:
115
  rdr = csv.reader(f, delimiter=",")
116
  next(rdr)