Spaces:
Sleeping
Sleeping
joel commited on
Commit ·
6b1e3c8
1
Parent(s): e90d545
Fix: Remove root endpoint to allow Gradio mounting at /
Browse files239 unmodified lines240241242243244245246247248249250251252253254255256257258259239 unmodified lines# API ENDPOINTS# ============================================================================@app.get("/")async def root():"""Endpoint racine"""return {"name": "Scrap-Dji API","version": "2.0.0","description": "API de recherche et scraping de contenus africains","endpoints": {"search": "/api/search","stats": "/api/stats","documents": "/api/documents","health": "/api/health"}}@app.get("/api/health")async def health():239 unmodified lines240241242243244245246239 unmodified lines# API ENDPOINTS# ============================================================================@app.get("/api/health")async def health():
app.py+1-14