Fooocus icon indicating copy to clipboard operation
Fooocus copied to clipboard

Style dropdown instead of / in addition to checkboxes

Open diaolulu1 opened this issue 1 year ago • 4 comments

I suggest integrating the styles into the settings. Line 189 of webui.py

            performance_selection = gr.Radio(label='Performance', choices=['Speed', 'Quality'], value='Speed')
            style_selections = gr.Dropdown(label='Style',choices=legal_style_names,
                                           value=modules.path.default_styles,
                                           multiselect=True)
            aspect_ratios_selection = gr.Dropdown(label='Aspect Ratios', choices=list(aspect_ratios.keys()),
                                               value=modules.path.default_aspect_ratio, info='width × height')

diaolulu1 avatar Oct 20 '23 06:10 diaolulu1

With your mod:

Under the settings tab

Aspect Ratios pulldown menu looks great and WORKS The style pulldown menu looks great BUT not working

setting

Under the style tab (still exists)

Default checkboxes are still there and WORKS

style

I think you need to remove the style pulldown from the Setting tab and convert the Style tab to pulldown.

Would be cool if under Style tab to have 2 pull down. One for style and one for Artist Style

Come to think of it, it will be cleaner if we have 3 pull down in the Setting tab, Aspect ratio, Style, and Artist style. No style tab would be needed. Save room for future features.

barepixels avatar Oct 21 '23 02:10 barepixels

感谢敏神回复!

diaolulu1 avatar Oct 21 '23 03:10 diaolulu1

Yes, I indeed have removed the Style tab, it has been replaced by the dropdown menu. It wouldn't work without removing it.

diaolulu1 avatar Oct 21 '23 06:10 diaolulu1

Instruction for the new mod?

barepixels avatar Oct 21 '23 18:10 barepixels