Upload conti2line.py with huggingface_hub
Browse files- conti2line.py +0 -2
conti2line.py
CHANGED
@@ -81,8 +81,6 @@ class Conti2drawing(datasets.GeneratorBasedBuilder):
|
|
81 |
raise e
|
82 |
|
83 |
for _, row in metadata.iterrows():
|
84 |
-
text = row["text"]
|
85 |
-
|
86 |
image_path = row["image"]
|
87 |
image_path = os.path.join(images_dir, image_path)
|
88 |
image = open(image_path, "rb").read()
|
|
|
81 |
raise e
|
82 |
|
83 |
for _, row in metadata.iterrows():
|
|
|
|
|
84 |
image_path = row["image"]
|
85 |
image_path = os.path.join(images_dir, image_path)
|
86 |
image = open(image_path, "rb").read()
|