Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -79,8 +79,9 @@ async def capture_screenshot():
|
|
| 79 |
page = await browser.new_page()
|
| 80 |
|
| 81 |
# Use the raw GitHub image URL
|
|
|
|
| 82 |
#https://github.com/kfahn22/Op-Art/blob/c6a7c906e978cd543a2d020379914bde7575e92b/assets/gears.jpg
|
| 83 |
-
image_url = "https://
|
| 84 |
|
| 85 |
print(f"Opening image from GitHub: {image_url}")
|
| 86 |
await page.goto(image_url, timeout=120000) # Wait for the image page to load
|
|
|
|
| 79 |
page = await browser.new_page()
|
| 80 |
|
| 81 |
# Use the raw GitHub image URL
|
| 82 |
+
#https://raw.githubusercontent.com/kfahn22/Op-Art/main/assets/gears.jpg
|
| 83 |
#https://github.com/kfahn22/Op-Art/blob/c6a7c906e978cd543a2d020379914bde7575e92b/assets/gears.jpg
|
| 84 |
+
image_url = "https://github.com/kfahn22/Op-Art/blob/c6a7c906e978cd543a2d020379914bde7575e92b/assets/gears.jpg"
|
| 85 |
|
| 86 |
print(f"Opening image from GitHub: {image_url}")
|
| 87 |
await page.goto(image_url, timeout=120000) # Wait for the image page to load
|