Qwen-2.5-minimal-Chat / space_checker.py
tastypear's picture
Init
7d386ca verified
raw
history blame
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)