GeorgeSherif commited on
Commit
3051d49
·
1 Parent(s): a5feebf
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -64,6 +64,8 @@ def save_annotation(caption, session_data):
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
 
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