fixed post request for hugging face

This commit is contained in:
anovazzi1 2023-03-18 19:55:38 -03:00
commit 65730f3451

View file

@ -9,5 +9,5 @@ export async function getAll():Promise<AxiosResponse<APIObjectType>> {
export async function sendAll(data:sendAllProps) {
console.log(data);
return await axios.post(`${backendUrl}/predict`, data);
return await axios.post(`/predict`, data);
}