freddyaboulton HF staff commited on
Commit
abbcf4d
1 Parent(s): 7c5e6e0

Add label to Sampler dropdown

Browse files

Originally it just shows as `Dropdown` which is not helpful to new users:


![image.png](https://s3.amazonaws.com/moonup/production/uploads/626a9bfa03e2e2796f24ca11/1dQfv_1Hah5-jF6Jflbmt.png)

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -190,7 +190,7 @@ model: https://huggingface.co/DionTimmer/controlnet_qrcode-control_v1p_sd15
190
  value=7.5,
191
  label="Guidance Scale",
192
  )
193
- sampler = gr.Dropdown(choices=list(SAMPLER_MAP.keys()), value="DPM++ Karras SDE")
194
  seed = gr.Slider(
195
  minimum=-1,
196
  maximum=9999999999,
 
190
  value=7.5,
191
  label="Guidance Scale",
192
  )
193
+ sampler = gr.Dropdown(choices=list(SAMPLER_MAP.keys()), value="DPM++ Karras SDE", label="Sampler")
194
  seed = gr.Slider(
195
  minimum=-1,
196
  maximum=9999999999,