Spaces:
Runtime error
Runtime error
Update app.py
Browse files11 unmodified lines12131415161711 unmodified lines# Models# -----------------------------class ChatRequest(BaseModel):session_id: str11 unmodified lines1213141516171819202122232425262728293031323334353637383940414243444546474811 unmodified lines# Models# -----------------------------@app.get("/", response_class=HTMLResponse)async def root():return """<!doctype html><html><head><meta charset="utf-8" /><title>Tessai LLM Bridge</title><style>body {font-family: system-ui, sans-serif;padding: 2rem;}code {background: #f4f4f4;padding: 0.1rem 0.3rem;border-radius: 3px;}</style></head><body><h1>Tessai LLM Bridge</h1><p>FastAPI is running inside this Hugging Face Space.</p><ul><li><code>GET /health</code> – health and metrics</li><li><code>POST /v1/chat</code> – main chat endpoint</li><li><code>GET /admin</code> – simple meter board</li></ul></body></html>"""class ChatRequest(BaseModel):session_id: str
app.py+31