Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -58,8 +58,8 @@ def take_screenshot(url):
|
|
58 |
except TimeoutException:
|
59 |
print(f"νμ΄μ§ λ‘λ© νμμμ: {url}")
|
60 |
|
61 |
-
# μΆκ° λκΈ°
|
62 |
-
time.sleep(1
|
63 |
|
64 |
# JavaScript μ€ν μλ£ λκΈ°
|
65 |
driver.execute_script("return document.readyState") == "complete"
|
|
|
58 |
except TimeoutException:
|
59 |
print(f"νμ΄μ§ λ‘λ© νμμμ: {url}")
|
60 |
|
61 |
+
# μΆκ° λκΈ° μκ°μ 2μ΄λ‘ μ¦κ°
|
62 |
+
time.sleep(2) # 1μ΄μμ 2μ΄λ‘ λ³κ²½
|
63 |
|
64 |
# JavaScript μ€ν μλ£ λκΈ°
|
65 |
driver.execute_script("return document.readyState") == "complete"
|