Skip to content

Commit

Permalink
small edits
Browse files Browse the repository at this point in the history
  • Loading branch information
liana313 committed Nov 28, 2024
1 parent bf9986d commit d4dc442
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/op_examples/multimodal_ops/filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
labels = [os.path.splitext(image)[0] for image in image_file_names]
image_paths = [os.path.join("images", image) for image in image_file_names]

df = pd.DataFrame({"image": ImageArray(image_paths), "label": labels, "image_path": image_paths})
df = pd.DataFrame({"image": ImageArray(image_paths),
"label": labels,
"image_path": image_paths})

df = df.sem_filter("{image} represents number 1")
print(df)
File renamed without changes.

0 comments on commit d4dc442

Please sign in to comment.