km8oz
commited on
Commit
·
e3ea6b2
1
Parent(s):
91765ed
ignore2
Browse files- demolist.csv +0 -1
- icons_dataset.py +1 -1
demolist.csv
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
word,url
|
2 |
Forester,https://cdn.svgapi.com/vector/26281/forester-house.svg
|
3 |
forint,https://cdn.svgapi.com/vector/128808/forint.svg
|
4 |
forint,https://cdn.svgapi.com/vector/156675/hungary-forint-currency-symbol.svg
|
|
|
|
|
1 |
Forester,https://cdn.svgapi.com/vector/26281/forester-house.svg
|
2 |
forint,https://cdn.svgapi.com/vector/128808/forint.svg
|
3 |
forint,https://cdn.svgapi.com/vector/156675/hungary-forint-currency-symbol.svg
|
icons_dataset.py
CHANGED
@@ -66,7 +66,7 @@ class SvgsIcons(datasets.GeneratorBasedBuilder):
|
|
66 |
with open(filepath, encoding="utf-8") as csv_file:
|
67 |
csv_reader = csv.reader(csv_file)
|
68 |
rows = [row for row in csv_reader]
|
69 |
-
rows = rows[1:]
|
70 |
for row in rows:
|
71 |
image = svg_url_to_image(row[1])
|
72 |
if not image:
|
|
|
66 |
with open(filepath, encoding="utf-8") as csv_file:
|
67 |
csv_reader = csv.reader(csv_file)
|
68 |
rows = [row for row in csv_reader]
|
69 |
+
# rows = rows[1:]
|
70 |
for row in rows:
|
71 |
image = svg_url_to_image(row[1])
|
72 |
if not image:
|