Spaces:
Sleeping
Sleeping
File size: 233 Bytes
696e669 | 1 2 3 4 5 6 7 8 9 10 11 12 | from fastapi import FastAPI
from fastapi.responses import FileResponse
app = FastAPI()
@app.get("/")
async def serve_html():
return FileResponse("index.html")
@app.get("/health")
async def health():
return {"status": "ok"} |