diff --git a/app/main.py b/app/main.py index 3219c88..815cc46 100644 --- a/app/main.py +++ b/app/main.py @@ -14,7 +14,7 @@ class SummarizeRequest(BaseModel): title: str = "" -@app.post("/api/news/summarize") +@app.post("/summarize") async def summarize_video( req: SummarizeRequest, x_api_secret: str = Header(default=""), @@ -31,6 +31,6 @@ async def summarize_video( return {"status": "ok", "title": title, "summary_length": len(summary)} -@app.get("/api/news/health") +@app.get("/health") async def health(): return {"status": "ok"}