Terion7/Trojanity / check_services.py
Terion7's picture
download
raw
469 Bytes
import asyncio, httpx
async def main():
checks = [
("Whisper", "http://127.0.0.1:2022/v1/models"),
("Kokoro", "http://127.0.0.1:8880/v1/audio/voices"),
]
for name, url in checks:
try:
async with httpx.AsyncClient(timeout=5) as c:
r = await c.get(url)
print(f"[OK] {name}: HTTP {r.status_code}")
except Exception as e:
print(f"[FAIL] {name}: {e}")
asyncio.run(main())

Xet Storage Details

Size:
469 Bytes
·
Xet hash:
1c7f7aaa650fd798faaee325aaff47f79ce14c189395737bb7ae0b708ead25a9

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.