Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -211,7 +211,6 @@ def handler(event):
|
|
| 211 |
images_field = input_event.get("images_field", "images")
|
| 212 |
image_field = input_event.get("image_field", "image")
|
| 213 |
is_enhanced_outpaint = params['is_enhanced_outpaint']
|
| 214 |
-
logger.info(f'is_enhanced_outpaint: {is_enhanced_outpaint}')
|
| 215 |
|
| 216 |
if endpoint == "extra-single-image":
|
| 217 |
image_url = params.get('image')
|
|
@@ -237,6 +236,7 @@ def handler(event):
|
|
| 237 |
first_images = copy.deepcopy(result[images_field])
|
| 238 |
|
| 239 |
if is_enhanced_outpaint:
|
|
|
|
| 240 |
update_progress_status(
|
| 241 |
job_id=job_id, progress_status="FIXING_OUTPAINT")
|
| 242 |
new_params = params
|
|
|
|
| 211 |
images_field = input_event.get("images_field", "images")
|
| 212 |
image_field = input_event.get("image_field", "image")
|
| 213 |
is_enhanced_outpaint = params['is_enhanced_outpaint']
|
|
|
|
| 214 |
|
| 215 |
if endpoint == "extra-single-image":
|
| 216 |
image_url = params.get('image')
|
|
|
|
| 236 |
first_images = copy.deepcopy(result[images_field])
|
| 237 |
|
| 238 |
if is_enhanced_outpaint:
|
| 239 |
+
logger.info(f'doint is_enhanced_outpaint')
|
| 240 |
update_progress_status(
|
| 241 |
job_id=job_id, progress_status="FIXING_OUTPAINT")
|
| 242 |
new_params = params
|