namkazt / sd-webui-prompt-history

Automatic store your generation info with image and apply back anytime.
MIT License
103 stars 14 forks source link

fix: float to int #6

Closed w-e-w closed 1 year ago

w-e-w commented 1 year ago

this should be that fix for https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/11263 note: untested but is pretty obvious, same method as https://github.com/namkazt/sd-webui-prompt-history/blob/9a97eeff81985dc9d4eaf0b4f39a09a083b2b3d0/scripts/prompt_history_script.py#L92

personally I prefer to use round in these situation but it doesn't really matter in this usecase

namkazt commented 1 year ago

@w-e-w aw thanks, sorry i did not read this PR so i already add the fix :D

thanks

w-e-w commented 1 year ago

np