Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
yourbench
/
demo
like
134
Running
on
CPU Upgrade
App
Files
Files
Community
1
Fetching metadata from the HF Docker repository...
f718c1a
demo
/
backend
/
routes
/
health.py
tfrere
first commit
970eef1
28 days ago
raw
Copy download link
history
blame
Safe
251 Bytes
from
fastapi
import
APIRouter
router = APIRouter(tags=[
"health"
])
@router.get(
"/health"
)
async
def
health_check
():
"""
Check if the API is running properly
Returns:
Dictionary with status
"""
return
{
"status"
:
"ok"
}