How to increase image number >32? #1537
-
Hi there! Thanks for this awesome piece of software, first of all! I do have a question, as for my use case I often have to run the same prompt multiple times to receive the amount of images I need to make a proper selection, which is usually >100 images. I use Fooocus on a cloud GPU server, which I spin up every single time from scratch. Is there any line of code that I can enter before opening the Gradio link that allows me to create more than 32 images, which is the maximum I can define using the GUI? This would make things a lot easier, but I haven't figured out a way to do so yet... Thanks for any advice! 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
Modify this parameter(maximum, 32) to your desired value Line 229 in b0df0d5 |
Beta Was this translation helpful? Give feedback.
-
Just out of curiosity... what you are generating that you need 100+ images just to get a proper selection? Usually, I get a good image from less than 10 images 😅 or you are just that picky? |
Beta Was this translation helpful? Give feedback.
-
how can i reload the gpu for the foocus |
Beta Was this translation helpful? Give feedback.
Yes, this has changed!
Instead of changing the file
webui.py
, this can now also be adjusted with theconfig.txt
file. Simply add the following line to it and adjust the number to your needs: