mirror of
https://github.com/invoke-ai/InvokeAI
synced 2026-03-02 04:59:06 +01:00
* (bugfix) Add a command-line utility for running gallery maintenance * chore(backend): ruff
13 lines
298 B
Python
Executable File
13 lines
298 B
Python
Executable File
#!/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()
|