Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -138,7 +138,7 @@ def convert_endpoint():
|
|
| 138 |
|
| 139 |
# Locate the specific element we want to capture
|
| 140 |
element = page.locator("#output-wrapper")
|
| 141 |
-
element = page.locator("body")
|
| 142 |
|
| 143 |
# Take a screenshot of just that element
|
| 144 |
png_bytes = element.screenshot(type="png")
|
|
|
|
| 138 |
|
| 139 |
# Locate the specific element we want to capture
|
| 140 |
element = page.locator("#output-wrapper")
|
| 141 |
+
#element = page.locator("body")
|
| 142 |
|
| 143 |
# Take a screenshot of just that element
|
| 144 |
png_bytes = element.screenshot(type="png")
|