omniscientframework / api_backend.py
MrSiebel585
Add Streamlit multipage app with FastAPI backend
0a1f9c3
Raw
History Blame
230 Bytes
from fastapi import FastAPI
from fastapi.responses import JSONResponse
app = FastAPI(title="Omniscient Backend API")
@app.get("/health")
def health():
return JSONResponse({"ok": True, "message": "Omniscient backend alive"})