lllyasviel / Fooocus

Focus on prompting and generating
GNU General Public License v3.0
40.53k stars 5.65k forks source link

user_path_config.txt - Save developer mode and all other settings in config #676

Open kubilaykilinc opened 11 months ago

kubilaykilinc commented 11 months ago

I am changing for default settings this file "user_path_config.txt" Bu when i start Fooocus this file is reseting to default values. If i change "read only" Fooocus is giving error. How can i change default settings? It was work but doesn't work now.

I am using Fooocus 2.1.59

lllyasviel commented 11 months ago

user_path_config.txt will be reset to default values if the paths do not exist or parameters are wrong

kubilaykilinc commented 11 months ago

Thank you for your answer.

I will have suggestions regarding user settings. 1- Being able to include subfolders of models 2- Saving Developer mode and all other settings as default in settings 3- Being able to save all selections and settings used when producing images in JSON and / or PNG.

mashb1t commented 9 months ago

Thank you for your answer.

I will have suggestions regarding user settings. 1- Being able to include subfolders of models

See https://github.com/lllyasviel/Fooocus/pull/725 and https://github.com/lllyasviel/Fooocus/pull/1256

2- Saving Developer mode and all other settings as default in settings

This is not (yet) possible as only specific settings will be read from presets and / or config.

3- Being able to save all selections and settings used when producing images in JSON and / or PNG.

Implemented in latest few versions. Please check the history log and find the copy button there.

mykeehu commented 3 months ago

Please add enable save without subfolders (all images to one folder only). Thanks!

mashb1t commented 3 months ago

@mykeehu why, what's the benefit? btw feel free to fork the repository and adjust the line yourself: https://github.com/lllyasviel/Fooocus/blob/main/modules/util.py#L174

mykeehu commented 3 months ago

@mykeehu why, what's the benefit? btw feel free to fork the repository and adjust the line yourself: https://github.com/lllyasviel/Fooocus/blob/main/modules/util.py#L174

Because it's handy if I could find an image, plus the html file would be logged as well. Rather an option would be nice to have everything in one folder or separate by days. I'm not a programmer, so I wouldn't touch the code. :)