mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
Update webui.py (#121)
This commit is contained in:
@@ -78,7 +78,7 @@ with shared.gradio_root:
|
|||||||
with gr.Row():
|
with gr.Row():
|
||||||
model_refresh = gr.Button(label='Refresh', value='\U0001f504 Refresh All Files', variant='secondary', elem_classes='refresh_button')
|
model_refresh = gr.Button(label='Refresh', value='\U0001f504 Refresh All Files', variant='secondary', elem_classes='refresh_button')
|
||||||
with gr.Accordion(label='Advanced', open=False):
|
with gr.Accordion(label='Advanced', open=False):
|
||||||
sharpness = gr.Slider(label='Sampling Sharpness', minimum=0.0, maximum=20.0, step=0.01, value=2.0)
|
sharpness = gr.Slider(label='Sampling Sharpness', minimum=0.0, maximum=40.0, step=0.01, value=2.0)
|
||||||
|
|
||||||
def model_refresh_clicked():
|
def model_refresh_clicked():
|
||||||
modules.path.update_all_model_names()
|
modules.path.update_all_model_names()
|
||||||
|
|||||||
Reference in New Issue
Block a user