stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

A minor enhancements to textual inversion ui

Open patrickas opened this issue 3 years ago • 3 comments

  • User can specify {name} in the preview prompt to use the name of the embedding

  • User can specify multiple preview prompts which will create multiple preview images xxx_1.png xxx_2.png This is useful useful to make sure embedding works for multiple types of photos like a photo of {name}|a painting of {name} by renoir

patrickas avatar Oct 11 '22 22:10 patrickas

last_saved_image is pulling a few duties here, first it's a flag for not having saved, then it's a filename, then it's a list of concatenated prompts.

Nicer to a new variable for your list of prompts used and images generated and then format them clearly as what they are in the output html.

dfaker avatar Oct 11 '22 22:10 dfaker

@dfaker last_saved_image is already doing all that in the current code... Notice in my change i use last_saved_image just onece to create a new variable called current_file_name the rest of its duties are already being done in the current code so my changes do not touch that

patrickas avatar Oct 12 '22 08:10 patrickas

Can You add ability to load yaml file with settings ? Current implementation is kinda broken and wont get same results as main repos... https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/2784

Having actual original code would fix this.Maybe a window to paste a path to original yaml file?

1blackbar avatar Oct 16 '22 10:10 1blackbar

I'd prefer to keep things simple.

AUTOMATIC1111 avatar Jan 04 '23 15:01 AUTOMATIC1111