Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ async def capture_screenshot():
|
|
56 |
print("Screenshot saved!")
|
57 |
|
58 |
@tool
|
59 |
-
def grab_image() ->
|
60 |
"""
|
61 |
Fetches an op art image from a p5.js sketch.
|
62 |
This function sends uses Playwright to launch a headless server and grab a screenshot of a p5.js sketch.
|
|
|
56 |
print("Screenshot saved!")
|
57 |
|
58 |
@tool
|
59 |
+
def grab_image() -> Image:
|
60 |
"""
|
61 |
Fetches an op art image from a p5.js sketch.
|
62 |
This function sends uses Playwright to launch a headless server and grab a screenshot of a p5.js sketch.
|