Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Duplicated from
tastypear/Qwen-1.5-minimal-Chat
tastypear
/
Qwen-2-minimal-Chat
like
2
Running
App
Files
Files
Community
d019d49
Qwen-2-minimal-Chat
/
space_checker.py
tastypear
Init
7d386ca
verified
6 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
)