Skip to content

Image generation: Add Delete button on Gallery UI to delete selected image - #7610

Open
ivellioscolin wants to merge 1 commit into
oobabooga:mainfrom
ivellioscolin:image_del_btn
Open

Image generation: Add Delete button on Gallery UI to delete selected image#7610
ivellioscolin wants to merge 1 commit into
oobabooga:mainfrom
ivellioscolin:image_del_btn

Conversation

@ivellioscolin

Copy link
Copy Markdown

Checklist:

The Issue

Currently there's no widget on UI to delete generated images from Image AI -> Gallery, but only by removing files from user_data/image_outputs.

The Solution

Add "Delete" button under "Send to Generate".
Add delete_selected_image() function to delete selected image file and clear cache, then refresh the gallery.

The Result

User can delete generated images from UI directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant