warmifans commited on
Commit
39d42d4
·
verified ·
1 Parent(s): 2181925

Update pinger.py

Browse files
Files changed (1) hide show
  1. pinger.py +0 -13
pinger.py CHANGED
@@ -1,13 +0,0 @@
1
- import time
2
- import requests
3
-
4
- URL = "https://warmifans-numinfo.hf.space"
5
-
6
- while True:
7
- try:
8
- response = requests.get(URL, timeout=10)
9
- print(f"Status: {response.status_code}")
10
- except Exception as e:
11
- print(f"Ping failed: {e}")
12
-
13
- time.sleep(300) # 5 minutes