Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions scripts/gallery_maintenance.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env python3
"""
gallery_maintenance.py

Remove orphan images from the gallery directory.
Remove orphan database entries for images that no longer exist in the gallery directory.
Regenerate missing thumbnail images.
"""

from invokeai.backend.util.gallery_maintenance import main

main()