Team Ai
Apppublic

khushmagrawal/devsecops_env

sourceHugging Faceupdated 6mo agoView on Hugging Face
0likes
test_hf.py17 linesDownload Raw Back to root
1import requests2import sys3 4URL = "https://khushmagrawal-devsecops-env.hf.space/reset"5 6print(f"Pinging {URL} ...")7try:8    response = requests.post(URL, json={})9    print(f"Status Code: {response.status_code}")10    if response.status_code == 200:11        print("✅ SUCCESS! The Space is live and properly responding to agent resets.")12        print(response.json())13    else:14        print(f"❌ Failed. Returns: {response.text}")15except Exception as e:16    print(f"❌ Request failed: {e}")17