kouki321 commited on
Commit
66f2fe5
·
verified ·
1 Parent(s): ae70948

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -327,10 +327,9 @@ async def list_documents():
327
 
328
  return {"documents": documents}
329
 
330
- @app.get("/")
331
  async def root():
332
- return {"message": "DeepSeek QA with KV Cache API is running"}
333
 
334
  if __name__ == "__main__":
335
- # Run the FastAPI app
336
  uvicorn.run(app, host="0.0.0.0", port=7860)
 
327
 
328
  return {"documents": documents}
329
 
330
+ @app.get("/", include_in_schema=False)
331
  async def root():
332
+ return RedirectResponse(url="/docs")
333
 
334
  if __name__ == "__main__":
 
335
  uvicorn.run(app, host="0.0.0.0", port=7860)