fantaxy commited on
Commit
34a3d1e
·
verified ·
1 Parent(s): 7d9ef5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -157,9 +157,9 @@ def infer_canny(prompt, text_for_image, text_position, font_size,
157
  negative_prompt = "nsfw, facial shadows, low resolution, jpeg artifacts, blurry, bad quality, dark face, neon lights",
158
  seed = 397886929,
159
  randomize_seed = False,
160
- guidance_scale = 6.0,
161
  num_inference_steps = 50,
162
- controlnet_conditioning_scale = 0.7,
163
  control_guidance_end = 0.9,
164
  strength = 1.0
165
  ):
@@ -294,14 +294,14 @@ with gr.Blocks(theme="Nymbo/Nymbo_Theme", css=css) as Kolors:
294
  minimum=0.0,
295
  maximum=10.0,
296
  step=0.1,
297
- value=6.0,
298
  )
299
  num_inference_steps = gr.Slider(
300
  label="Number of inference steps",
301
  minimum=10,
302
  maximum=50,
303
  step=1,
304
- value=30,
305
  )
306
  with gr.Row():
307
  controlnet_conditioning_scale = gr.Slider(
@@ -309,7 +309,7 @@ with gr.Blocks(theme="Nymbo/Nymbo_Theme", css=css) as Kolors:
309
  minimum=0.0,
310
  maximum=1.0,
311
  step=0.1,
312
- value=0.7,
313
  )
314
  control_guidance_end = gr.Slider(
315
  label="Control Guidance End",
 
157
  negative_prompt = "nsfw, facial shadows, low resolution, jpeg artifacts, blurry, bad quality, dark face, neon lights",
158
  seed = 397886929,
159
  randomize_seed = False,
160
+ guidance_scale = 8.0,
161
  num_inference_steps = 50,
162
+ controlnet_conditioning_scale = 0.8,
163
  control_guidance_end = 0.9,
164
  strength = 1.0
165
  ):
 
294
  minimum=0.0,
295
  maximum=10.0,
296
  step=0.1,
297
+ value=8.0,
298
  )
299
  num_inference_steps = gr.Slider(
300
  label="Number of inference steps",
301
  minimum=10,
302
  maximum=50,
303
  step=1,
304
+ value=50,
305
  )
306
  with gr.Row():
307
  controlnet_conditioning_scale = gr.Slider(
 
309
  minimum=0.0,
310
  maximum=1.0,
311
  step=0.1,
312
+ value=0.8,
313
  )
314
  control_guidance_end = gr.Slider(
315
  label="Control Guidance End",