kfahn commited on
Commit
b2876d5
·
verified ·
1 Parent(s): 6538e35

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -56,14 +56,12 @@ 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.
63
-
64
  Returns:
65
- Returns:
66
- image: the screen shot of the p5.js sketch as an image
67
  """
68
  print("Running async Playwright screenshot...")
69
 
 
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.
 
63
  Returns:
64
+ image: The screen shot of the p5.js sketch as an image.
 
65
  """
66
  print("Running async Playwright screenshot...")
67