Update handler.py
Browse files- handler.py +1 -4
handler.py
CHANGED
|
@@ -210,10 +210,7 @@ def handler(event):
|
|
| 210 |
method = input_event.get("method", "post")
|
| 211 |
images_field = input_event.get("images_field", "images")
|
| 212 |
image_field = input_event.get("image_field", "image")
|
| 213 |
-
is_fix_outpaint = params.get('is_fix_outpaint',
|
| 214 |
-
|
| 215 |
-
logger.info(f'is_fix_outpaint {is_fix_outpaint}')
|
| 216 |
-
logger.info(f'outpaint_fix_noise_strength {params["outpaint_fix_noise_strength"]}')
|
| 217 |
|
| 218 |
if endpoint == "extra-single-image":
|
| 219 |
image_url = params.get('image')
|
|
|
|
| 210 |
method = input_event.get("method", "post")
|
| 211 |
images_field = input_event.get("images_field", "images")
|
| 212 |
image_field = input_event.get("image_field", "image")
|
| 213 |
+
is_fix_outpaint = params.get('is_fix_outpaint', False)
|
|
|
|
|
|
|
|
|
|
| 214 |
|
| 215 |
if endpoint == "extra-single-image":
|
| 216 |
image_url = params.get('image')
|