From c5de5af7e5bfe672fcce24e230b45beb5311be63 Mon Sep 17 00:00:00 2001 From: bbh Date: Wed, 13 Aug 2025 01:08:08 +0800 Subject: [PATCH] new-feature: add bentoml_classifiy in utils --- backend/app/api/routes/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/api/routes/utils.py b/backend/app/api/routes/utils.py index aea91e1..dd2302b 100644 --- a/backend/app/api/routes/utils.py +++ b/backend/app/api/routes/utils.py @@ -39,7 +39,7 @@ class ClassifyRequest(BaseModel): async def bentoml_classifiy(data: ClassifyRequest): async with httpx.AsyncClient() as client: response = await client.post( - "http://localhost:3000/classify", + "http://120.76.41.122:3000/classify", json={"text": f"{data.text}"} ) result = response.json()