kfahn commited on
Commit
b4a3c55
·
verified ·
1 Parent(s): d914d63

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -70,9 +70,9 @@ def get_image_url(image_type: str):
70
  # # If no exact match, look for a partial match
71
  # for key in image_sources:
72
  # if image_type in key.lower(): # Check if input is a substring of a key
73
- # return image_sources[key]
74
-
75
- return None # No match found
76
  async def capture_screenshot(image_type: str):
77
  """Launches Playwright and uses user input, if any, to captures a screenshot of an image from p5.js."""
78
  print("Launching Playwright...")
 
70
  # # If no exact match, look for a partial match
71
  # for key in image_sources:
72
  # if image_type in key.lower(): # Check if input is a substring of a key
73
+ # return image_sources[key]
74
+ # return None # No match found
75
+
76
  async def capture_screenshot(image_type: str):
77
  """Launches Playwright and uses user input, if any, to captures a screenshot of an image from p5.js."""
78
  print("Launching Playwright...")