Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -1,7 +1,10 @@
|
|
1 |
import requests
|
|
|
2 |
|
3 |
def ping(url):
|
4 |
print(url)
|
5 |
return requests.get(url)
|
6 |
while True:
|
7 |
-
print(requests.get('https://alptangall-k-e-p-0l1n3.hf.space/'))
|
|
|
|
|
|
1 |
import requests
|
2 |
+
import time
|
3 |
|
4 |
def ping(url):
|
5 |
print(url)
|
6 |
return requests.get(url)
|
7 |
while True:
|
8 |
+
print(requests.get('https://alptangall-k-e-p-0l1n3.hf.space/'))
|
9 |
+
time.sleep(3)
|
10 |
+
|