primerz commited on
Commit
70165c0
·
verified ·
1 Parent(s): 29b547d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -527,15 +527,15 @@ with gr.Blocks(title="RetroArt Converter - Img2Img", theme=gr.themes.Soft()) as
527
  guidance_scale = gr.Slider(
528
  minimum=0.5,
529
  maximum=15.0,
530
- value=1.0 if USE_LCM else 7.5,
531
  step=0.1,
532
- label=f"Guidance Scale (CFG) - {'LCM uses 1.0-1.5' if USE_LCM else 'DPM++ uses 7-8'}"
533
  )
534
 
535
  strength = gr.Slider(
536
  minimum=0.3,
537
  maximum=0.95,
538
- value=0.75,
539
  step=0.05,
540
  label="Img2Img Strength (how much to transform)"
541
  )
@@ -543,15 +543,15 @@ with gr.Blocks(title="RetroArt Converter - Img2Img", theme=gr.themes.Soft()) as
543
  controlnet_scale = gr.Slider(
544
  minimum=0.3,
545
  maximum=1.2,
546
- value=0.8,
547
  step=0.05,
548
  label="Zoe Depth ControlNet Scale"
549
  )
550
 
551
  lora_scale = gr.Slider(
552
  minimum=0.5,
553
- maximum=1.5,
554
- value=1.0,
555
  step=0.05,
556
  label="RetroArt LORA Scale"
557
  )
@@ -560,7 +560,7 @@ with gr.Blocks(title="RetroArt Converter - Img2Img", theme=gr.themes.Soft()) as
560
  identity_preservation = gr.Slider(
561
  minimum=0,
562
  maximum=1.5,
563
- value=0.8,
564
  step=0.1,
565
  label="Identity/Keypoint Preservation"
566
  )
@@ -580,7 +580,7 @@ with gr.Blocks(title="RetroArt Converter - Img2Img", theme=gr.themes.Soft()) as
580
 
581
  **For {'LCM' if USE_LCM else 'DPM++'}:**
582
  - {'✅ Use **12 steps** (optimized for speed)' if USE_LCM else '✅ Use **30-50 steps** (better quality)'}
583
- - {'✅ Keep CFG at **1.0-1.5**' if USE_LCM else '✅ Keep CFG at **7.0-8.0**'}
584
  - ✅ LORA trigger word is **auto-added**
585
  - ✅ Resolution auto-optimized to 896x1152 or 832x1216
586
 
 
527
  guidance_scale = gr.Slider(
528
  minimum=0.5,
529
  maximum=15.0,
530
+ value=1.5 if USE_LCM else 7.5,
531
  step=0.1,
532
+ label=f"Guidance Scale (CFG) - {'LCM uses 1.0-2.0' if USE_LCM else 'DPM++ uses 7-8'}"
533
  )
534
 
535
  strength = gr.Slider(
536
  minimum=0.3,
537
  maximum=0.95,
538
+ value=0.50,
539
  step=0.05,
540
  label="Img2Img Strength (how much to transform)"
541
  )
 
543
  controlnet_scale = gr.Slider(
544
  minimum=0.3,
545
  maximum=1.2,
546
+ value=0.75,
547
  step=0.05,
548
  label="Zoe Depth ControlNet Scale"
549
  )
550
 
551
  lora_scale = gr.Slider(
552
  minimum=0.5,
553
+ maximum=2.0,
554
+ value=1.25,
555
  step=0.05,
556
  label="RetroArt LORA Scale"
557
  )
 
560
  identity_preservation = gr.Slider(
561
  minimum=0,
562
  maximum=1.5,
563
+ value=1.0,
564
  step=0.1,
565
  label="Identity/Keypoint Preservation"
566
  )
 
580
 
581
  **For {'LCM' if USE_LCM else 'DPM++'}:**
582
  - {'✅ Use **12 steps** (optimized for speed)' if USE_LCM else '✅ Use **30-50 steps** (better quality)'}
583
+ - {'✅ Keep CFG at **1.0-2.0**' if USE_LCM else '✅ Keep CFG at **7.0-8.0**'}
584
  - ✅ LORA trigger word is **auto-added**
585
  - ✅ Resolution auto-optimized to 896x1152 or 832x1216
586