Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
tastypear/Qwen-2.5-minimal-Chat
tastypear
/
HY-Chat
like
0
Running
App
Files
Files
Community
4a30d13
HY-Chat
/
space_checker.py
tastypear
Init
7d386ca
verified
7 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
)