Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def background_request(space_url,space_url_self, interval_seconds):
|
|
23 |
try:
|
24 |
while True:
|
25 |
send_dummy_request(space_url)
|
26 |
-
|
27 |
time.sleep(interval_seconds)
|
28 |
except KeyboardInterrupt:
|
29 |
print("Background script terminated by user.")
|
|
|
23 |
try:
|
24 |
while True:
|
25 |
send_dummy_request(space_url)
|
26 |
+
send_dummy_request_self(space_url_self)
|
27 |
time.sleep(interval_seconds)
|
28 |
except KeyboardInterrupt:
|
29 |
print("Background script terminated by user.")
|