jbilcke-hf HF staff commited on
Commit
613fc1d
β€’
1 Parent(s): 6aa275d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -3
app.py CHANGED
@@ -415,11 +415,21 @@ with gr.Blocks(css="custom.css") as demo:
415
  share_button = gr.Button("Share to community", elem_id="share-btn")
416
  with gr.Accordion("Advanced options", open=False):
417
  negative = gr.Textbox(label="Negative Prompt")
418
- weight = gr.Slider(0, 10, value=0.9, step=0.1, label="LoRA weight")
419
- face_strength = gr.Slider(0, 1, value=0.85, step=0.01, label="Face strength", info="Higher values increase the face likeness but reduce the creative liberty of the models")
 
 
 
 
 
 
420
  image_strength = gr.Slider(0, 1, value=0.15, step=0.01, label="Image strength", info="Higher values increase the similarity with the structure/colors of the original photo")
 
 
421
  guidance_scale = gr.Slider(0, 50, value=7, step=0.1, label="Guidance Scale")
422
- depth_control_scale = gr.Slider(0, 1, value=0.8, step=0.01, label="Zoe Depth ControlNet strenght")
 
 
423
  prompt_title = gr.Markdown(
424
  value="### Click on a LoRA in the gallery to select it",
425
  visible=True,
 
415
  share_button = gr.Button("Share to community", elem_id="share-btn")
416
  with gr.Accordion("Advanced options", open=False):
417
  negative = gr.Textbox(label="Negative Prompt")
418
+
419
+ # initial value was 0.9
420
+ weight = gr.Slider(0, 10, value=6, step=0.1, label="LoRA weight")
421
+
422
+ # initial value was 0.85
423
+ face_strength = gr.Slider(0, 1, value=0.75, step=0.01, label="Face strength", info="Higher values increase the face likeness but reduce the creative liberty of the models")
424
+
425
+ # initial value was 0.15
426
  image_strength = gr.Slider(0, 1, value=0.15, step=0.01, label="Image strength", info="Higher values increase the similarity with the structure/colors of the original photo")
427
+
428
+ # initial value was 7
429
  guidance_scale = gr.Slider(0, 50, value=7, step=0.1, label="Guidance Scale")
430
+
431
+ # initial value was 1
432
+ depth_control_scale = gr.Slider(0, 4, value=0.8, step=0.01, label="Zoe Depth ControlNet strenght")
433
  prompt_title = gr.Markdown(
434
  value="### Click on a LoRA in the gallery to select it",
435
  visible=True,