Upload folder using huggingface_hub
Browse files21 unmodified lines222324252627282921 unmodified lines# -------------------------# Home Route (HF Health Check Compatible)# -------------------------@app.get("/", response_class=HTMLResponse)async def home():return """<!DOCTYPE html><html lang="en"><head>21 unmodified lines2223242526272829303132333435363738394021 unmodified lines# -------------------------# Home Route (HF Health Check Compatible)# -------------------------@app.get("/")async def home():return {"message": "Jenkins Error Explainer API running", "status": "ok"}@app.get("/health")def health():return {"status": "ok"}# -------------------------# HTML UI Route# -------------------------@app.get("/ui", response_class=HTMLResponse)async def ui():return """<!DOCTYPE html><html lang="en"><head>
app.py+12-1