Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
tastypear
/
sia-chat-adapter
like
1
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
9c91a52
sia-chat-adapter
/
space_checker.py
tastypear
Upload 2 files
9c91a52
verified
5 months ago
raw
Copy download link
history
blame
Safe
223 Bytes
import
requests
import
time
import
os
space_url = os.getenv(
'SPACE_URL'
)
def
fetch_url
(
url
):
response = requests.get(url)
print
(response.text)
while
True
:
fetch_url(space_url)
time.sleep(
3600
)