Closed AcaiAI closed 5 months ago
@AcaiAI These settings can not be added autonomously without changes to the input elements in the browser. Did you maybe open another tab or reload the tab after generating a bunch of images or did another user access your Fooocus through a local reverse peoxy etc.? Each tab uses the defaults configured in the config.txt + preset, so the Frontend uses these settings on each new tab or on reload. Looking forward to your feedback
Hey @mashb1t Nope I use a single broswer tab, tried it again on chrome, firefox, and opera still the same issue as well. After a few generations the styles get added back.
@AcaiAI can't reproduce, using the generate forever functionality (right-click generate button) and no issues here.
@AcaiAI After a second analysis you're using the image describe function, which adds styles depending on if oyu use Photograph
or Art/anime
describe.
Closing as this is normal and the expected behaviour. Make sure to either change the code yourself if you dislike this functionality or disable the styles afterwards.
Code in https://github.com/lllyasviel/Fooocus/blob/55e23a9374cbe09d70f182b7a73a7885411822db/webui.py#L699 can be replaced by
return default_interrogator_photo(img), []
to disable the styles in general after the update.
Checklist
What happened?
Whenever I disable the 3 selected styles
Fooocus v2 Fooocus Enhance Fooosus Sharp
when inpainting, after a few generations, they get reenabled
Steps to reproduce the problem
Whenever I disable the 3 selected styles
Fooocus v2 Fooocus Enhance Fooosus Sharp
when inpainting, after a few generations, they get reenabled
What should have happened?
It should be disabled.
What browsers do you use to access Fooocus?
No response
Where are you running Fooocus?
Locally
What operating system are you using?
Windows 10
Console logs
Additional information
No response