To test ping after 10 mins
Browse files- src/api.py +1 -1
src/api.py
CHANGED
@@ -38,7 +38,7 @@ async def health():
|
|
38 |
def ping_server():
|
39 |
try:
|
40 |
print("Pinging server")
|
41 |
-
response = requests.get("https://
|
42 |
except requests.exceptions.RequestException as e:
|
43 |
print("Server is down")
|
44 |
# send email to admin
|
|
|
38 |
def ping_server():
|
39 |
try:
|
40 |
print("Pinging server")
|
41 |
+
response = requests.get("https://testys-thery-ai.hf.space")
|
42 |
except requests.exceptions.RequestException as e:
|
43 |
print("Server is down")
|
44 |
# send email to admin
|