File size: 336 Bytes
08c7878
 
 
 
10f7d04
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
import requests

url = "https://cjell-Demo.hf.space"

resp = requests.get(f"{url}/health", timeout=10)
data = resp.json()

print(f"\nServer status: {data['server'].upper()}")
print("Model statuses:")

for key, info in data["models"].items():
    status = info["status"].upper()
    print(f"  - {key}: {info['model_name']}{status}")