Alexandros Popov commited on
Commit
743cfd6
·
1 Parent(s): d274a6d

raised allowed saturation.

Browse files
Files changed (2) hide show
  1. agents.py +3 -3
  2. filters.py +1 -1
agents.py CHANGED
@@ -182,7 +182,7 @@ picture_operator_prompt = """
182
  factor=1.05 # Slightly increased depth for balloon patterns
183
  )
184
 
185
- img = adjust_saturation(img=img, factor=1.5 # "Boosted a lot" to enhance vibrancy
186
  )
187
 
188
  img = adjust_temperature(img=img, delta=500 # Warm up by 500 mireds for golden-hour glow
@@ -206,7 +206,7 @@ picture_operator_prompt = """
206
  s=s,
207
  li=li,
208
  color='red',
209
- factor=1.3 # "Significantly" boosted saturation
210
  )
211
  h, s, li = adjust_luminance_color(
212
  h=h,
@@ -274,7 +274,7 @@ picture_operator = CodeAgent(
274
  name="PictureOperator",
275
  description=picture_operator_prompt,
276
  managed_agents=[],
277
- max_steps=7,
278
  )
279
 
280
 
 
182
  factor=1.05 # Slightly increased depth for balloon patterns
183
  )
184
 
185
+ img = adjust_saturation(img=img, factor=1.8 # "Boosted a lot" to enhance vibrancy
186
  )
187
 
188
  img = adjust_temperature(img=img, delta=500 # Warm up by 500 mireds for golden-hour glow
 
206
  s=s,
207
  li=li,
208
  color='red',
209
+ factor=1.4 # "Significantly" boosted saturation
210
  )
211
  h, s, li = adjust_luminance_color(
212
  h=h,
 
274
  name="PictureOperator",
275
  description=picture_operator_prompt,
276
  managed_agents=[],
277
+ max_steps=4,
278
  )
279
 
280
 
filters.py CHANGED
@@ -294,7 +294,7 @@ def adjust_saturation_color(
294
  li (np.ndarray): Lightness channel `[0, 1]`.
295
  color (ColorName): Colour family to target [red, orange, yellow, green, aqua, blue, purple, magenta]
296
  factor (float): Saturation multiplier. Factor under +/- 0.1 are delicate modifications.
297
- Factor of 0.5 are very strong variations.
298
 
299
  Returns:
300
  Tuple[np.ndarray, np.ndarray, np.ndarray]: Hue, Saturation, Lightness
 
294
  li (np.ndarray): Lightness channel `[0, 1]`.
295
  color (ColorName): Colour family to target [red, orange, yellow, green, aqua, blue, purple, magenta]
296
  factor (float): Saturation multiplier. Factor under +/- 0.1 are delicate modifications.
297
+ Factor of 0.2 and 1.8 are very strong variations.
298
 
299
  Returns:
300
  Tuple[np.ndarray, np.ndarray, np.ndarray]: Hue, Saturation, Lightness