Update FCD_lmv2.py
Browse files- FCD_lmv2.py +1 -1
FCD_lmv2.py
CHANGED
|
@@ -110,7 +110,7 @@ class FCD(datasets.GeneratorBasedBuilder):
|
|
| 110 |
image_path = image_path.replace("json", "jpg")
|
| 111 |
image, size = load_image(image_path)
|
| 112 |
for item in data:
|
| 113 |
-
words, label =
|
| 114 |
#words = [w for w in words if w["text"].strip() != ""]
|
| 115 |
|
| 116 |
if len(words) == 0:
|
|
|
|
| 110 |
image_path = image_path.replace("json", "jpg")
|
| 111 |
image, size = load_image(image_path)
|
| 112 |
for item in data:
|
| 113 |
+
words, label = ["hello"], ["borrower"]
|
| 114 |
#words = [w for w in words if w["text"].strip() != ""]
|
| 115 |
|
| 116 |
if len(words) == 0:
|