From 67a0110edab7bd1acd6b030c63102738c4c9881c Mon Sep 17 00:00:00 2001 From: bbh Date: Wed, 13 Aug 2025 01:00:29 +0800 Subject: [PATCH] fix: fix import bug 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 4f82307..aea91e1 100644 --- a/backend/app/api/routes/utils.py +++ b/backend/app/api/routes/utils.py @@ -40,7 +40,7 @@ async def bentoml_classifiy(data: ClassifyRequest): async with httpx.AsyncClient() as client: response = await client.post( "http://localhost:3000/classify", - json={"text": "data.text"} + json={"text": f"{data.text}"} ) result = response.json()