Spaces:
Sleeping
Sleeping
Commit
·
5009ada
1
Parent(s):
2c7c714
updates
Browse files
app.py
CHANGED
|
@@ -202,6 +202,7 @@ def save_annotation(caption, session_data):
|
|
| 202 |
dataset = concatenate_datasets([dataset, new_data])
|
| 203 |
|
| 204 |
dataset = dataset.filter(lambda example: example['caption'].strip() != "")
|
|
|
|
| 205 |
|
| 206 |
dataset.push_to_hub(dataset_name)
|
| 207 |
print("Pushed updated dataset")
|
|
|
|
| 202 |
dataset = concatenate_datasets([dataset, new_data])
|
| 203 |
|
| 204 |
dataset = dataset.filter(lambda example: example['caption'].strip() != "")
|
| 205 |
+
dataset = dataset.filter(lambda example: example["image_id"] != "COCO_val2014_000000111367.jpg")
|
| 206 |
|
| 207 |
dataset.push_to_hub(dataset_name)
|
| 208 |
print("Pushed updated dataset")
|