hako-mikan / sd-webui-negpip

Extension for Stable Diffusion web-ui enables negative prompt in prompt
GNU Affero General Public License v3.0
200 stars 16 forks source link

Auto deactivate extension when prompt doesn't contain negative weights #24

Closed light-and-ray closed 10 months ago

light-and-ray commented 1 year ago

Even if I don't add negative weights, but extension is active, generation speed drops a bit. In my case it is from 25.5s to 26.3s for batch size of 10 images. It is not significant, but it is bad

You should add check if prompt contains negative weights, and automatically deactivate extension for the generation if it doesn't contain negative weights

Neverdusk commented 12 months ago

Adding to this, I seem to keep getting error messages on each step of generation when the extension is enabled but there aren't any negative weights.

hako-mikan commented 10 months ago

Fixed.

light-and-ray commented 10 months ago

I confirm that it does not affect the speed now