Spaces:
Sleeping
Sleeping
Update app.py
Browse files54 unmodified lines55565758596054 unmodified linesmanager = ConnectionManager()@app.post("/v1/mock")async def mock_endpoint(request: Request):"""54 unmodified lines555657585960616263646566676869707154 unmodified linesmanager = ConnectionManager()@app.get("/", response_class=HTMLResponse)async def root():"""Serve the main HTML page."""try:with open("static/index.html", "r", encoding="utf-8") as f:return HTMLResponse(content=f.read())except FileNotFoundError:raise HTTPException(status_code=404, detail="index.html not found")@app.post("/v1/mock")async def mock_endpoint(request: Request):"""
app.py+11