Spaces:
Sleeping
Sleeping
File size: 385 Bytes
37d0533 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
from fastapi import FastAPI
app = FastAPI(title="Eroha Minimal Health Test")
@app.get("/")
def home():
return {
"message": "Hello, Eroha — this is a minimal FastAPI test!",
"check_url": "/check"
}
@app.get("/check")
def check_health():
return {
"status": "ok",
"modules": ["core", "rag", "metrics"],
"version": "test-1.0"
}
|