GeorgeIbrahim commited on
Commit
d9b41f8
·
1 Parent(s): 7971cd8
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -27,6 +27,8 @@ try:
27
  # Check if the 'split' column exists; if not, add it
28
  if 'split' not in dataset.column_names:
29
  # Define the 'split' values based on `image_id`
 
 
30
  split_values = [
31
  "dev" if example["image_id"] in results else "train"
32
  for example in dataset
 
27
  # Check if the 'split' column exists; if not, add it
28
  if 'split' not in dataset.column_names:
29
  # Define the 'split' values based on `image_id`
30
+ print(results)
31
+ print(if example["image_id"] in results)
32
  split_values = [
33
  "dev" if example["image_id"] in results else "train"
34
  for example in dataset