Upload folder using huggingface_hub
Browse files- keep_alive.py +1 -1
keep_alive.py
CHANGED
|
@@ -15,7 +15,7 @@ def ping_self():
|
|
| 15 |
|
| 16 |
while True:
|
| 17 |
try:
|
| 18 |
-
url =
|
| 19 |
logger.info(f"[KeepAlive] Pinging self at {url}")
|
| 20 |
response = requests.get(url, timeout=10)
|
| 21 |
if response.status_code == 200:
|
|
|
|
| 15 |
|
| 16 |
while True:
|
| 17 |
try:
|
| 18 |
+
url = "http://localhost:7860/health"
|
| 19 |
logger.info(f"[KeepAlive] Pinging self at {url}")
|
| 20 |
response = requests.get(url, timeout=10)
|
| 21 |
if response.status_code == 200:
|