kfahn commited on
Commit
615ec88
·
verified ·
1 Parent(s): 22c8402

Update app.py

Browse files

try changing path...

Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -79,7 +79,9 @@ async def capture_screenshot():
79
  page = await browser.new_page()
80
 
81
  print("Opening the p5.js sketch...")
82
- await page.goto("https://github.com/kfahn22/Op-Art/blob/main/assets/gears.jpg", timeout=60000) # Increased timeout
 
 
83
 
84
  print("Waiting for page to load fully...")
85
  await page.wait_for_load_state("networkidle") # Ensures all requests finish
 
79
  page = await browser.new_page()
80
 
81
  print("Opening the p5.js sketch...")
82
+ #https://raw.githubusercontent.com/your-username/repository-name/branch-name/path/to/image.png
83
+
84
+ await page.goto("https://raw.githubusercontent.com/kfahn22/Op-Art/blob/main/assets/gears.jpg", timeout=60000) # Increased timeout
85
 
86
  print("Waiting for page to load fully...")
87
  await page.wait_for_load_state("networkidle") # Ensures all requests finish