Skip to content

Commit

Permalink
CLIP processor: correct setting name
Browse files Browse the repository at this point in the history
  • Loading branch information
dale-wahl committed Aug 30, 2023
1 parent 67216cc commit f34917a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processors/visualisation/clip_categorize_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def get_options(cls, parent_dataset=None, user=None):
}

# Update the amount max and help from config
max_number_images = int(config.get("image-to-categories.cd_clip_num_files", 100, user=user))
max_number_images = int(config.get("dmi-service-manager.cd_clip_num_files", 100, user=user))
if max_number_images == 0: # Unlimited allowed
options["amount"]["help"] = "Number of images"
options["amount"]["default"] = 100
Expand Down

0 comments on commit f34917a

Please sign in to comment.