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