Spaces:
Sleeping
Sleeping
GeorgeSherif commited on
Commit ·
8d04afa
1
Parent(s): 3051d49
updates
Browse files
app.py
CHANGED
|
@@ -64,8 +64,6 @@ def save_annotation(caption, session_data):
|
|
| 64 |
target_dataset = val_dataset
|
| 65 |
split_name = "validation"
|
| 66 |
else:
|
| 67 |
-
print(image_id)
|
| 68 |
-
print("val" in image_id)
|
| 69 |
return gr.update(visible=False), gr.update(value="Unknown dataset split for image!")
|
| 70 |
|
| 71 |
# Add the new annotation as a new row to the appropriate dataset
|
|
|
|
| 64 |
target_dataset = val_dataset
|
| 65 |
split_name = "validation"
|
| 66 |
else:
|
|
|
|
|
|
|
| 67 |
return gr.update(visible=False), gr.update(value="Unknown dataset split for image!")
|
| 68 |
|
| 69 |
# Add the new annotation as a new row to the appropriate dataset
|