diff --git a/server.py b/server.py index 5c2ec9815..d1e5b3ebe 100644 --- a/server.py +++ b/server.py @@ -267,8 +267,9 @@ class PromptServer(): text=f"Invalid weight_type: {weight_type}." ) - - + @routes.get("/health") + async def health(request): + return web.Response(status=200, text="Healthy") @routes.post("/upload/image") async def upload_image(request):