Spaces:
Sleeping
Sleeping
Hjgugugjhuhjggg
commited on
Update app.py
Browse files
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"}
|