Spaces:
Sleeping
Sleeping
Update app.py
Browse filestry to fix if statement
app.py
CHANGED
@@ -55,8 +55,8 @@ async def capture_screenshot(image_type: str):
|
|
55 |
#url = "https://openprocessing.org/sketch/2539973"
|
56 |
url = "https://editor.p5js.org/kfahn/full/2XD5Y8MiV"
|
57 |
image_url
|
58 |
-
if
|
59 |
-
image_url = get_image_url()
|
60 |
elif:
|
61 |
image_url = url
|
62 |
else:
|
|
|
55 |
#url = "https://openprocessing.org/sketch/2539973"
|
56 |
url = "https://editor.p5js.org/kfahn/full/2XD5Y8MiV"
|
57 |
image_url
|
58 |
+
if image_type:
|
59 |
+
image_url = get_image_url(image_type)
|
60 |
elif:
|
61 |
image_url = url
|
62 |
else:
|