{% extends "layout.html" %} {% block title %}Settings{% endblock %} {% block content %}

Settings

Overview Import Maintenance
{% if active_tab == 'overview' %}

System Overview

- Total Images
- Total Tags
- Storage Used
- Files to Import
- Archives to Import

Import Queue Status

Monitor and control the Celery-based import queue system.

- Pending
- Queued
- Processing
- Complete
- Skipped
- Failed
Clear tasks:

Note: Failed/skipped tasks older than 7 days are auto-cleaned daily.

Import Tasks

Showing 0 of 0 tasks
File Type Status Error/Reason Time
Loading...
{% endif %} {% if active_tab == 'import' %}

Import Filters

Configure filters to skip certain images during import.

Useful for filtering out UI elements, overlays, and buttons.

Controls how similar images must be to be considered duplicates.

Delete Images by Tag

Permanently delete all images associated with a specific tag.

Clean Up Existing Images

Scan and remove images that don't meet filter criteria.

Images with more than this % transparent pixels will be flagged.

Duplicate Detection

Scan for visually similar images using perceptual hash comparison. The first image in each group has the highest resolution and will be kept.

Lower values find only very similar images. Higher values find more potential duplicates but may include false positives.

{% endif %} {% if active_tab == 'maintenance' %}

Maintenance Tools

Background operations and worker management.

Workers: - | Active Tasks: -

ML tag suggestions

Run inference on all images missing predictions or embeddings for the current model versions. Resumable and safe to re-run. Backfill enqueues work on the ml queue; monitor progress in the ml-worker logs.

Recompute centroids for all eligible tags (character, fandom, and general/topic) that have at least the minimum number of reference images. Run this after the initial backfill, or any time you've applied many tags manually and want the suggestions to catch up.

For every character tag with a fandom assigned, attach the fandom tag to every image already tagged with that character. Additive only — never removes fandom attachments. Safe to re-run. Backfills data migrated from pre-refactor tag names that embedded the "(Fandom)" suffix, since the migration set tag.fandom_id but did not retroactively attach the fandom row to image_tags.

Auto-accept threshold (general tags)

When the modal loads suggestions for an image, any general-category tag with confidence at or above this threshold is auto-applied and shown in a reviewable "Auto-accepted" block at the top of the suggestions section. Lower values accept more tags (riskier); values above 1.0 effectively disable the feature. Default is 0.95.

Suggestion blocklist

One canonical tag name per line. Matches are exact against the post-canonicalization WD14 output (e.g. 1girl, breasts). Blocklisted names never appear in the modal's auto-suggestions — either WD14 or embedding-similarity sourced. Adding a name also enqueues a cleanup task that removes the tag from every image that has it attached (kind='user' only; deliberate character / artist / fandom tags sharing the same name are left alone). You can also add entries inline by clicking the ⊘ button on any suggestion chip.

{% endif %} {% endblock %}