hysts HF staff commited on
Commit
bcd09e5
1 Parent(s): f864b44

Apply pre-commit

Browse files
Files changed (1) hide show
  1. app.py +7 -8
app.py CHANGED
@@ -140,8 +140,8 @@ with gr.Blocks(css='style.css') as demo:
140
  use_negative_prompt = gr.Checkbox(label='Use negative prompt',
141
  value=False)
142
  use_prompt_2 = gr.Checkbox(label='Use prompt 2', value=False)
143
- use_negative_prompt_2 = gr.Checkbox(
144
- label='Use negative prompt 2', value=False)
145
  negative_prompt = gr.Text(
146
  label='Negative prompt',
147
  max_lines=1,
@@ -184,12 +184,11 @@ with gr.Blocks(css='style.css') as demo:
184
  )
185
  apply_refiner = gr.Checkbox(label='Apply refiner', value=False)
186
  with gr.Row():
187
- guidance_scale_base = gr.Slider(
188
- label='Guidance scale for base',
189
- minimum=1,
190
- maximum=20,
191
- step=0.1,
192
- value=5.0)
193
  num_inference_steps_base = gr.Slider(
194
  label='Number of inference steps for base',
195
  minimum=10,
 
140
  use_negative_prompt = gr.Checkbox(label='Use negative prompt',
141
  value=False)
142
  use_prompt_2 = gr.Checkbox(label='Use prompt 2', value=False)
143
+ use_negative_prompt_2 = gr.Checkbox(label='Use negative prompt 2',
144
+ value=False)
145
  negative_prompt = gr.Text(
146
  label='Negative prompt',
147
  max_lines=1,
 
184
  )
185
  apply_refiner = gr.Checkbox(label='Apply refiner', value=False)
186
  with gr.Row():
187
+ guidance_scale_base = gr.Slider(label='Guidance scale for base',
188
+ minimum=1,
189
+ maximum=20,
190
+ step=0.1,
191
+ value=5.0)
 
192
  num_inference_steps_base = gr.Slider(
193
  label='Number of inference steps for base',
194
  minimum=10,