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()