Youssef Benhachem commited on
Commit
342e246
1 Parent(s): 72a8bb5
Files changed (1) hide show
  1. KHATT.py +3 -1
KHATT.py CHANGED
@@ -90,6 +90,7 @@ class KHATT(datasets.GeneratorBasedBuilder):
90
  idx = 0
91
  for archive in archives:
92
  for path, file in archive:
 
93
  # If we have an image
94
  if path.endswith(".TIF"):
95
  if split != "test":
@@ -100,7 +101,8 @@ class KHATT(datasets.GeneratorBasedBuilder):
100
 
101
  with open(txt_path, 'r', encoding='utf-8') as file:
102
  text = file.read()
103
- print(text)
 
104
 
105
  else:
106
  text = ""
 
90
  idx = 0
91
  for archive in archives:
92
  for path, file in archive:
93
+ print(file)
94
  # If we have an image
95
  if path.endswith(".TIF"):
96
  if split != "test":
 
101
 
102
  with open(txt_path, 'r', encoding='utf-8') as file:
103
  text = file.read()
104
+
105
+ print("hey", text, file)
106
 
107
  else:
108
  text = ""