Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
xce009
/
inference-test
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
Soumik555
commited on
Aug 23, 2025
Commit
973eb5c
·
1 Parent(s):
9dfb376
model-servive-api
Browse files
Files changed (1)
hide
show
main.py
+5
-0
main.py
CHANGED
Viewed
@@ -307,3 +307,8 @@ async def health_check():
307
}
308
)
309
307
}
308
)
309
310
+
311
+
@app.get("/ping")
312
+
async def ping():
313
+
"""Ping endpoint to check API status"""
314
+
return {"status": "ok"}