Spaces:
Sleeping
Sleeping
Alexandros Popov
commited on
Commit
·
ec9f581
1
Parent(s):
93a0a1e
refined prompt.
Browse files
agents.py
CHANGED
|
@@ -173,9 +173,8 @@ picture_operator_prompt = """
|
|
| 173 |
img = load_image(path=image_path)
|
| 174 |
|
| 175 |
# Apply global adjustments in RGB space
|
| 176 |
-
img = adjust_exposure(
|
| 177 |
-
|
| 178 |
-
ev=0.1 # Moderate brightening for golden-hour amplification
|
| 179 |
)
|
| 180 |
|
| 181 |
img = adjust_contrast(
|
|
@@ -183,19 +182,13 @@ picture_operator_prompt = """
|
|
| 183 |
factor=1.05 # Slightly increased depth for balloon patterns
|
| 184 |
)
|
| 185 |
|
| 186 |
-
img = adjust_saturation(
|
| 187 |
-
img=img,
|
| 188 |
-
factor=1.5 # "Boosted a lot" to enhance vibrancy
|
| 189 |
)
|
| 190 |
|
| 191 |
-
img = adjust_temperature(
|
| 192 |
-
img=img,
|
| 193 |
-
delta=500 # Warm up by 500 mireds for golden-hour glow
|
| 194 |
)
|
| 195 |
|
| 196 |
-
img = adjust_shadows_highlights(
|
| 197 |
-
img=img,
|
| 198 |
-
shadow=1.1, # Slight shadow lifting to reveal textures
|
| 199 |
highlight=0.9 # Tame highlights to preserve sky colors
|
| 200 |
)
|
| 201 |
|
|
|
|
| 173 |
img = load_image(path=image_path)
|
| 174 |
|
| 175 |
# Apply global adjustments in RGB space
|
| 176 |
+
img = adjust_exposure(img=img,
|
| 177 |
+
ev=0.1 # Moderate brightening for golden-hour amplification
|
|
|
|
| 178 |
)
|
| 179 |
|
| 180 |
img = adjust_contrast(
|
|
|
|
| 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
|
|
|
|
|
|
|
| 189 |
)
|
| 190 |
|
| 191 |
+
img = adjust_shadows_highlights(img=img, shadow=1.1, # Slight shadow lifting to reveal textures
|
|
|
|
|
|
|
| 192 |
highlight=0.9 # Tame highlights to preserve sky colors
|
| 193 |
)
|
| 194 |
|