Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ def take_screenshot(url):
|
|
| 32 |
left = (width - crop_size_side) // 2
|
| 33 |
top = (height - crop_size_top) // 2
|
| 34 |
right = left + 1000
|
| 35 |
-
bottom = top
|
| 36 |
cropped_image = image.crop((left, top, right, bottom))
|
| 37 |
|
| 38 |
return image
|
|
|
|
| 32 |
left = (width - crop_size_side) // 2
|
| 33 |
top = (height - crop_size_top) // 2
|
| 34 |
right = left + 1000
|
| 35 |
+
bottom = top - 500
|
| 36 |
cropped_image = image.crop((left, top, right, bottom))
|
| 37 |
|
| 38 |
return image
|