Panno-AI-API / tests /test_api_local.py
GitHub Actions Bot
Sync: Thu Feb 12 07:00:42 UTC 2026
dce7eca
raw
history blame contribute delete
277 Bytes
import requests
def test_health():
try:
response = requests.get("http://localhost:7860/")
print(f"Health check: {response.json()}")
except Exception as e:
print(f"Server not running or error: {e}")
if __name__ == "__main__":
test_health()