DawnC commited on
Commit
38105e5
·
verified ·
1 Parent(s): d877c5c

Update inpainting_templates.py

Browse files
Files changed (1) hide show
  1. inpainting_templates.py +4 -4
inpainting_templates.py CHANGED
@@ -159,11 +159,11 @@ class InpaintingTemplateManager:
159
  "partial color change, colored trim only, colored edges only, colored outline only, "
160
  "black body with colored decoration, original color body"
161
  ),
162
- controlnet_conditioning_scale=0.15, # Optimized: Extremely low for anime/illustration (was 0.25)
163
  feather_radius=16,
164
- guidance_scale=15.5, # Optimized: Very high for strong color adherence (was 13.5)
165
- num_inference_steps=10, # Optimized: 10 steps sufficient (was 12)
166
- preferred_conditioning="canny", # Optimized: Canny for color freedom (was depth)
167
  difficulty="medium", # ⚠️ Medium: Extreme changes challenging
168
  usage_tips=[
169
  "✅ OPTIMIZED for anime/illustration extreme color changes (black↔white, black↔red)",
 
159
  "partial color change, colored trim only, colored edges only, colored outline only, "
160
  "black body with colored decoration, original color body"
161
  ),
162
+ controlnet_conditioning_scale=0.2, # Optimized: Extremely low for anime/illustration
163
  feather_radius=16,
164
+ guidance_scale=15.5, # Optimized: Very high for strong color adherence
165
+ num_inference_steps=10, # Optimized: 10 steps sufficient
166
+ preferred_conditioning="canny", # Optimized: Canny for color freedom
167
  difficulty="medium", # ⚠️ Medium: Extreme changes challenging
168
  usage_tips=[
169
  "✅ OPTIMIZED for anime/illustration extreme color changes (black↔white, black↔red)",