Leyo commited on
Commit
eadfeb6
·
1 Parent(s): 9a61df1

clean prints

Browse files
Files changed (1) hide show
  1. TGIF.py +0 -2
TGIF.py CHANGED
@@ -93,14 +93,12 @@ class TGIF(datasets.GeneratorBasedBuilder):
93
  dict = {}
94
  for path, f in files:
95
  if path.endswith(split + ".txt"):
96
- print(path)
97
  with open(path,'r') as txt_file:
98
  for line in txt_file:
99
  line = line[0:-1]
100
  dict[line] = []
101
  for path, f in files:
102
  if path.endswith("tgif-v1.0.tsv"):
103
- print(path)
104
  with open(path, encoding="utf-8") as tsv_file:
105
  tsv_reader = csv.reader(tsv_file, delimiter="\t", quotechar='"' )
106
 
 
93
  dict = {}
94
  for path, f in files:
95
  if path.endswith(split + ".txt"):
 
96
  with open(path,'r') as txt_file:
97
  for line in txt_file:
98
  line = line[0:-1]
99
  dict[line] = []
100
  for path, f in files:
101
  if path.endswith("tgif-v1.0.tsv"):
 
102
  with open(path, encoding="utf-8") as tsv_file:
103
  tsv_reader = csv.reader(tsv_file, delimiter="\t", quotechar='"' )
104