Hjgugugjhuhjggg commited on
Commit
2f4302a
·
verified ·
1 Parent(s): 36bfac8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -547,10 +547,6 @@ async def generate(request: GenerateRequest, background_tasks: BackgroundTasks,
547
  raise HTTPException(status_code=500, detail=f"Internal server error: {str(e)}")
548
 
549
 
550
- @app.get("/", response_class=HTMLResponse)
551
- async def root(request: Request):
552
- return TEMPLATES.TemplateResponse("index.html", {"request": request})
553
-
554
  @app.get("/health")
555
  async def health_check():
556
  return {"status": "healthy"}
 
547
  raise HTTPException(status_code=500, detail=f"Internal server error: {str(e)}")
548
 
549
 
 
 
 
 
550
  @app.get("/health")
551
  async def health_check():
552
  return {"status": "healthy"}