Update webui.py (#121)

This commit is contained in:
lllyasviel 2023-08-15 10:24:38 -07:00 committed by GitHub
parent ac80eb59b3
commit 7e2a54194d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ with shared.gradio_root:
with gr.Row():
model_refresh = gr.Button(label='Refresh', value='\U0001f504 Refresh All Files', variant='secondary', elem_classes='refresh_button')
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():
modules.path.update_all_model_names()